Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.678/1.678, allocations: 289.7 MB / 302.3 MB, free: 2.117 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 181.2 kB / 371.6 MB, free: 3.434 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.484/1.484, allocations: 205.1 MB / 0.6309 GB, free: 11.73 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009179/0.0009177, allocations: 87.22 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.684e-05/4.694e-05, allocations: 4 kB / 0.8663 GB, free: 14.92 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3243, allocations: 116.3 MB / 0.9799 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.018/1.342, allocations: 173.9 MB / 1.15 GB, free: 19.47 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003497/1.342, allocations: 100.8 kB / 1.15 GB, free: 19.43 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.06126/1.404, allocations: 24.27 MB / 1.173 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.977e-06/1.404, allocations: 0 / 1.173 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.788e-05/1.404, allocations: 15.98 kB / 1.173 GB, free: 4.363 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001031/1.405, allocations: 0.6396 MB / 1.174 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/1.405, allocations: 12.03 kB / 1.174 GB, free: 3.699 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.244e-05/1.405, allocations: 85.94 kB / 1.174 GB, free: 3.629 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/1.406, allocations: 141 kB / 1.174 GB, free: 3.492 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004443/1.406, allocations: 325.4 kB / 1.175 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/1.406, allocations: 30.28 kB / 1.175 GB, free: 3.148 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.985e-05/1.407, allocations: 34.75 kB / 1.175 GB, free: 3.125 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008088/1.407, allocations: 0.6 MB / 1.175 GB, free: 2.621 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/1.407, allocations: 0 / 1.175 GB, free: 2.621 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.845e-05/1.407, allocations: 29.92 kB / 1.175 GB, free: 2.605 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.445e-05/1.408, allocations: 24.77 kB / 1.175 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006074/1.408, allocations: 469.6 kB / 1.176 GB, free: 2.262 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003202/1.411, allocations: 3.439 MB / 1.179 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006941/1.412, allocations: 362.3 kB / 1.18 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002349/1.412, allocations: 168.8 kB / 1.18 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.407e-05/1.412, allocations: 7.984 kB / 1.18 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/1.412, allocations: 46.53 kB / 1.18 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=25): time 1.553e-06/1.412, allocations: 0 / 1.18 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of matching and sorting (n=26): time 0.002129/1.415, allocations: 0.739 MB / 1.18 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/1.415, allocations: 81.11 kB / 1.181 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003596/1.415, allocations: 290.1 kB / 1.181 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/1.415, allocations: 29.64 kB / 1.181 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/1.415, allocations: 258.5 kB / 1.181 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/1.415, allocations: 108.2 kB / 1.181 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.391e-05/1.415, allocations: 11.38 kB / 1.181 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001876/1.416, allocations: 337.1 kB / 1.182 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002783/1.416, allocations: 172.9 kB / 1.182 GB, free: 12.69 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00039/1.416, allocations: 333.5 kB / 1.182 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003624/1.417, allocations: 224.8 kB / 1.182 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/1.417, allocations: 8 kB / 1.182 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001948/1.419, allocations: 0.8385 MB / 1.183 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008652/1.419, allocations: 2.091 MB / 1.185 GB, free: 9.285 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/1.419, allocations: 13.36 kB / 1.185 GB, free: 9.273 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00166/1.421, allocations: 417.6 kB / 1.185 GB, free: 8.879 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003942/1.422, allocations: 95.12 kB / 1.186 GB, free: 8.789 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001232/1.423, allocations: 1.248 MB / 1.187 GB, free: 7.547 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003958/1.423, allocations: 47.12 kB / 1.187 GB, free: 7.508 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.311e-05/1.423, allocations: 19.44 kB / 1.187 GB, free: 7.492 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/1.423, allocations: 4 kB / 1.187 GB, free: 7.488 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007245/1.424, allocations: 481.1 kB / 1.187 GB, free: 7.145 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/1.424, allocations: 4 kB / 1.187 GB, free: 7.141 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/1.424, allocations: 8.719 kB / 1.187 GB, free: 7.133 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004057/1.424, allocations: 115.3 kB / 1.187 GB, free: 7.023 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/1.424, allocations: 8 kB / 1.187 GB, free: 7.016 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002643/1.425, allocations: 42.81 kB / 1.187 GB, free: 6.98 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.151e-05/1.425, allocations: 19.88 kB / 1.188 GB, free: 6.965 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001413/1.425, allocations: 124.9 kB / 1.188 GB, free: 6.848 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/1.425, allocations: 39.58 kB / 1.188 GB, free: 6.809 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001828/1.427, allocations: 0.6648 MB / 1.188 GB, free: 6.262 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/1.427, allocations: 4 kB / 1.188 GB, free: 6.258 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/1.427, allocations: 0 / 1.188 GB, free: 6.258 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/1.427, allocations: 7.984 kB / 1.188 GB, free: 6.25 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/1.428, allocations: 0.6572 MB / 1.189 GB, free: 5.645 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.428, allocations: 0 / 1.189 GB, free: 5.645 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002004/1.428, allocations: 47.09 kB / 1.189 GB, free: 5.602 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001559/1.43, allocations: 406.6 kB / 1.189 GB, free: 5.219 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/1.43, allocations: 7.75 kB / 1.189 GB, free: 5.215 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004453/1.434, allocations: 3.469 MB / 1.193 GB, free: 1.781 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/1.434, allocations: 4.031 kB / 1.193 GB, free: 1.777 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001859/1.436, allocations: 0.8517 MB / 1.194 GB, free: 1 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002547/1.437, allocations: 140.8 kB / 1.194 GB, free: 0.8555 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.732e-05/1.437, allocations: 11.67 kB / 1.194 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003642/1.437, allocations: 30.83 kB / 1.194 GB, free: 0.8203 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.583e-05/1.437, allocations: 30.86 kB / 1.194 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/1.437, allocations: 15.92 kB / 1.194 GB, free: 0.7812 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003241/1.437, allocations: 224.7 kB / 1.194 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.31e-07/1.437, allocations: 0 / 1.194 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001051/1.439, allocations: 192.1 kB / 1.194 GB, free: 444 kB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00263/1.441, allocations: 1.649 MB / 1.196 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001592/1.443, allocations: 0.7112 MB / 1.197 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/1.443, allocations: 8.062 kB / 1.197 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007712/1.444, allocations: 476.9 kB / 1.197 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000477/1.444, allocations: 68.41 kB / 1.197 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/1.446, allocations: 0.6463 MB / 1.198 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004605/1.446, allocations: 0.8595 MB / 1.199 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0004763/1.446, allocations: 146.8 kB / 1.199 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/1.447, allocations: 112.6 kB / 1.199 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/1.447, allocations: 0 / 1.199 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02944/1.476, allocations: 9.243 MB / 1.208 GB, free: 3.168 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003227/1.476, allocations: 197.9 kB / 1.208 GB, free: 2.941 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.76/4.236, allocations: 3.938 kB / 1.208 GB, free: 2.938 MB / 0.7761 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1)