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.192/2.192, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.00128/0.00128, allocations: 180.1 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.606/1.606, allocations: 221.3 MB / 0.7915 GB, free: 5.387 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.0009873/0.000987, allocations: 95.95 kB / 0.9317 GB, free: 5.691 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.713e-05/3.717e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3015, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.111/1.413, allocations: 181.7 MB / 1.396 GB, free: 6.289 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003227/1.413, allocations: 97.31 kB / 1.396 GB, free: 6.238 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.0672/1.481, allocations: 25.63 MB / 1.421 GB, free: 456 kB / 0.8698 GB Notification: Performance of FrontEnd: time 2.074e-06/1.481, allocations: 4 kB / 1.421 GB, free: 452 kB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.12e-05/1.481, allocations: 8 kB / 1.421 GB, free: 444 kB / 0.8698 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.001729/1.482, allocations: 0.6447 MB / 1.422 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.908e-05/1.483, allocations: 12.03 kB / 1.422 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002454/1.483, allocations: 81.28 kB / 1.422 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/1.484, allocations: 147.2 kB / 1.422 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006163/1.485, allocations: 334.2 kB / 1.423 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/1.485, allocations: 26.97 kB / 1.423 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.211e-05/1.485, allocations: 38.86 kB / 1.423 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/1.486, allocations: 0.5967 MB / 1.423 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/1.486, allocations: 3.938 kB / 1.423 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.336e-05/1.486, allocations: 17.94 kB / 1.423 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.96e-05/1.486, allocations: 28.02 kB / 1.423 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007522/1.487, allocations: 469.2 kB / 1.424 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003816/1.491, allocations: 3.429 MB / 1.427 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006883/1.491, allocations: 380.1 kB / 1.427 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/1.492, allocations: 168.4 kB / 1.428 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/1.492, allocations: 4.406 kB / 1.428 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/1.492, allocations: 42.25 kB / 1.428 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=25): time 4.017e-06/1.492, allocations: 3.984 kB / 1.428 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=26): time 0.002005/1.494, allocations: 0.7473 MB / 1.428 GB, free: 9.844 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/1.494, allocations: 81.11 kB / 1.428 GB, free: 9.746 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/1.494, allocations: 287.3 kB / 1.429 GB, free: 9.512 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/1.494, allocations: 32.89 kB / 1.429 GB, free: 9.477 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/1.494, allocations: 259.5 kB / 1.429 GB, free: 9.258 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.85e-05/1.494, allocations: 93.59 kB / 1.429 GB, free: 9.176 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-05/1.494, allocations: 11.69 kB / 1.429 GB, free: 9.172 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001399/1.495, allocations: 344.9 kB / 1.429 GB, free: 8.84 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002576/1.495, allocations: 171.6 kB / 1.43 GB, free: 8.73 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003557/1.495, allocations: 330.9 kB / 1.43 GB, free: 8.398 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/1.496, allocations: 232.8 kB / 1.43 GB, free: 8.238 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.33e-05/1.496, allocations: 4 kB / 1.43 GB, free: 8.234 MB / 0.8855 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00185/1.497, allocations: 0.8289 MB / 1.431 GB, free: 7.543 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009146/1.498, allocations: 2.097 MB / 1.433 GB, free: 5.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/1.498, allocations: 8 kB / 1.433 GB, free: 5.312 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00163/1.5, allocations: 418.2 kB / 1.433 GB, free: 4.918 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003888/1.5, allocations: 87.77 kB / 1.433 GB, free: 4.836 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/1.502, allocations: 1.261 MB / 1.435 GB, free: 3.582 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004097/1.502, allocations: 47.17 kB / 1.435 GB, free: 3.543 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.886e-05/1.502, allocations: 27.38 kB / 1.435 GB, free: 3.52 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/1.502, allocations: 5.25 kB / 1.435 GB, free: 3.516 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007365/1.503, allocations: 476.3 kB / 1.435 GB, free: 3.176 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/1.503, allocations: 4 kB / 1.435 GB, free: 3.172 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.806e-06/1.503, allocations: 8 kB / 1.435 GB, free: 3.164 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003919/1.503, allocations: 107.3 kB / 1.435 GB, free: 3.062 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/1.503, allocations: 11.94 kB / 1.435 GB, free: 3.051 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002788/1.504, allocations: 40.03 kB / 1.435 GB, free: 3.02 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/1.504, allocations: 16 kB / 1.435 GB, free: 3.004 MB / 0.8855 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.0001383/1.504, allocations: 143.8 kB / 1.436 GB, free: 2.871 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.311e-05/1.504, allocations: 31.62 kB / 1.436 GB, free: 2.84 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001671/1.506, allocations: 0.6626 MB / 1.436 GB, free: 2.297 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/1.506, allocations: 4 kB / 1.436 GB, free: 2.293 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.506, allocations: 0 / 1.436 GB, free: 2.293 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/1.506, allocations: 7.984 kB / 1.436 GB, free: 2.285 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/1.507, allocations: 0.6531 MB / 1.437 GB, free: 1.684 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/1.507, allocations: 0 / 1.437 GB, free: 1.684 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/1.507, allocations: 42.78 kB / 1.437 GB, free: 1.645 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001488/1.508, allocations: 410.1 kB / 1.437 GB, free: 1.258 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.093e-05/1.508, allocations: 10.8 kB / 1.437 GB, free: 1.25 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003978/1.512, allocations: 3.465 MB / 1.441 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.512, allocations: 4.031 kB / 1.441 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/1.514, allocations: 0.8544 MB / 1.442 GB, free: 13.03 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002277/1.514, allocations: 139.2 kB / 1.442 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.114e-05/1.514, allocations: 7.188 kB / 1.442 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003499/1.515, allocations: 38.12 kB / 1.442 GB, free: 12.85 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.885e-05/1.515, allocations: 31.34 kB / 1.442 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/1.515, allocations: 11.94 kB / 1.442 GB, free: 12.81 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002486/1.515, allocations: 226.5 kB / 1.442 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.81e-07/1.515, allocations: 0 / 1.442 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0008201/1.516, allocations: 195.9 kB / 1.442 GB, free: 12.46 MB / 0.9011 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.002291/1.518, allocations: 1.653 MB / 1.444 GB, free: 10.84 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001465/1.52, allocations: 0.7135 MB / 1.444 GB, free: 10.13 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/1.52, allocations: 0 / 1.444 GB, free: 10.13 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0007585/1.521, allocations: 485.7 kB / 1.445 GB, free: 9.633 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004346/1.521, allocations: 59.55 kB / 1.445 GB, free: 9.578 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/1.522, allocations: 0.6473 MB / 1.446 GB, free: 8.891 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000531/1.523, allocations: 0.8586 MB / 1.446 GB, free: 8 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0004804/1.523, allocations: 143.1 kB / 1.447 GB, free: 7.855 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/1.524, allocations: 111.4 kB / 1.447 GB, free: 7.746 MB / 0.9011 GB Notification: Performance of SimCode: time 4.01e-07/1.524, allocations: 0 / 1.447 GB, free: 7.746 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02791/1.552, allocations: 9.22 MB / 1.456 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/1.552, allocations: 191 kB / 1.456 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.528/4.08, allocations: 6.188 kB / 1.456 GB, free: 14.5 MB / 0.9167 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