Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.521/2.521, allocations: 390.5 MB / 398 MB, free: 10.95 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.001211, allocations: 184.4 kB / 491.2 MB, free: 1.555 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 221.5 MB / 0.7868 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009076/0.0009075, allocations: 90.78 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.335e-05/2.341e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2721, allocations: 143 MB / 1.212 GB, free: 39.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.012/1.284, allocations: 181 MB / 1.389 GB, free: 15.46 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/1.285, allocations: 95.56 kB / 1.389 GB, free: 15.45 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05676/1.341, allocations: 25.56 MB / 1.414 GB, free: 13.12 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.731e-06/1.341, allocations: 4 kB / 1.414 GB, free: 13.12 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.878e-05/1.341, allocations: 11.98 kB / 1.414 GB, free: 13.11 MB / 0.8386 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.001132/1.343, allocations: 0.6396 MB / 1.415 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/1.343, allocations: 16.03 kB / 1.415 GB, free: 12.43 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/1.344, allocations: 139.3 kB / 1.415 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004683/1.344, allocations: 329.2 kB / 1.415 GB, free: 11.96 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/1.344, allocations: 12 kB / 1.415 GB, free: 11.95 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.528e-05/1.344, allocations: 20 kB / 1.415 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006145/1.345, allocations: 386.9 kB / 1.416 GB, free: 11.68 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007902/1.346, allocations: 0.5467 MB / 1.416 GB, free: 11.2 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/1.346, allocations: 4 kB / 1.416 GB, free: 11.2 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.371e-05/1.346, allocations: 4 kB / 1.416 GB, free: 11.2 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.052e-05/1.346, allocations: 32.02 kB / 1.416 GB, free: 11.17 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003318/1.349, allocations: 3.358 MB / 1.42 GB, free: 7.863 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006417/1.35, allocations: 363.8 kB / 1.42 GB, free: 7.598 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002006/1.35, allocations: 159.3 kB / 1.42 GB, free: 7.488 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.514e-05/1.35, allocations: 7.984 kB / 1.42 GB, free: 7.48 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/1.35, allocations: 42.8 kB / 1.42 GB, free: 7.434 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 3.597e-06/1.35, allocations: 0 / 1.42 GB, free: 7.434 MB / 0.8386 GB Notification: Performance of matching and sorting (n=26): time 0.00179/1.352, allocations: 0.6493 MB / 1.421 GB, free: 6.871 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/1.352, allocations: 81.11 kB / 1.421 GB, free: 6.773 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/1.352, allocations: 268 kB / 1.421 GB, free: 6.551 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/1.352, allocations: 29.7 kB / 1.421 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/1.352, allocations: 257.9 kB / 1.421 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.468e-05/1.353, allocations: 94.03 kB / 1.421 GB, free: 6.207 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.2e-05/1.353, allocations: 0 / 1.421 GB, free: 6.207 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.353, allocations: 342.2 kB / 1.422 GB, free: 5.879 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/1.353, allocations: 162.6 kB / 1.422 GB, free: 5.777 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003041/1.353, allocations: 321.7 kB / 1.422 GB, free: 5.461 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004347/1.354, allocations: 248 kB / 1.422 GB, free: 5.285 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.354, allocations: 0 / 1.422 GB, free: 5.285 MB / 0.8386 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001679/1.355, allocations: 0.7329 MB / 1.423 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008503/1.356, allocations: 2.089 MB / 1.425 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/1.356, allocations: 4 kB / 1.425 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001202/1.357, allocations: 241.4 kB / 1.425 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/1.358, allocations: 95 kB / 1.426 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/1.359, allocations: 1.259 MB / 1.427 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003829/1.359, allocations: 31.86 kB / 1.427 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.821e-05/1.359, allocations: 27.08 kB / 1.427 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/1.359, allocations: 4 kB / 1.427 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007658/1.36, allocations: 448 kB / 1.427 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/1.36, allocations: 4 kB / 1.427 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/1.36, allocations: 12.06 kB / 1.427 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003982/1.361, allocations: 107.2 kB / 1.427 GB, free: 400 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/1.361, allocations: 11.94 kB / 1.427 GB, free: 388 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/1.361, allocations: 27.83 kB / 1.427 GB, free: 360 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.775e-05/1.361, allocations: 27.36 kB / 1.427 GB, free: 336 kB / 0.8386 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.0001338/1.361, allocations: 119.5 kB / 1.428 GB, free: 212 kB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00162/1.363, allocations: 0.6313 MB / 1.428 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.469e-05/1.363, allocations: 35.77 kB / 1.428 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001703/1.365, allocations: 0.6479 MB / 1.429 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/1.365, allocations: 7.984 kB / 1.429 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/1.365, allocations: 3.984 kB / 1.429 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/1.365, allocations: 4 kB / 1.429 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008639/1.366, allocations: 0.5913 MB / 1.429 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/1.366, allocations: 7.953 kB / 1.429 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/1.366, allocations: 47.84 kB / 1.429 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001558/1.367, allocations: 396.3 kB / 1.43 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/1.367, allocations: 8 kB / 1.43 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003659/1.371, allocations: 3.335 MB / 1.433 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.371, allocations: 4.031 kB / 1.433 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/1.373, allocations: 0.8525 MB / 1.434 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001904/1.373, allocations: 140 kB / 1.434 GB, free: 9.875 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.335e-05/1.373, allocations: 0 / 1.434 GB, free: 9.875 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003496/1.373, allocations: 35.84 kB / 1.434 GB, free: 9.84 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.15e-05/1.374, allocations: 31.22 kB / 1.434 GB, free: 9.812 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/1.374, allocations: 8 kB / 1.434 GB, free: 9.805 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002173/1.374, allocations: 198.1 kB / 1.434 GB, free: 9.652 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2e-07/1.374, allocations: 0 / 1.434 GB, free: 9.652 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008452/1.375, allocations: 172.1 kB / 1.435 GB, free: 9.484 MB / 0.8542 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.00235/1.377, allocations: 1.644 MB / 1.436 GB, free: 7.902 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001382/1.378, allocations: 0.6697 MB / 1.437 GB, free: 7.414 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.378, allocations: 0 / 1.437 GB, free: 7.414 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0007595/1.379, allocations: 457.6 kB / 1.437 GB, free: 7.008 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004703/1.38, allocations: 63.59 kB / 1.437 GB, free: 6.961 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/1.381, allocations: 0.6202 MB / 1.438 GB, free: 6.367 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004671/1.381, allocations: 0.8533 MB / 1.439 GB, free: 5.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004638/1.382, allocations: 143.1 kB / 1.439 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/1.382, allocations: 123.9 kB / 1.439 GB, free: 5.312 MB / 0.8542 GB Notification: Performance of SimCode: time 6.02e-07/1.382, allocations: 0 / 1.439 GB, free: 5.312 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03423/1.416, allocations: 8.45 MB / 1.447 GB, free: 12.92 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002889/1.417, allocations: 146.7 kB / 1.447 GB, free: 12.73 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.351/3.768, allocations: 3.938 kB / 1.447 GB, free: 12.72 MB / 0.8698 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat does not exist to compare? outputFormat=mat