Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.362/2.362, allocations: 387.4 MB / 394.9 MB, free: 13.44 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.001708/0.001708, allocations: 180.8 kB / 487.4 MB, free: 5.035 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.581/1.581, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009303/0.0009303, allocations: 106.9 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.261e-05/2.316e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2822, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9298/1.212, allocations: 180.2 MB / 1.382 GB, free: 18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/1.212, allocations: 94.06 kB / 1.382 GB, free: 17.98 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05611/1.268, allocations: 25.56 MB / 1.407 GB, free: 21.43 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.823e-06/1.269, allocations: 0 / 1.407 GB, free: 21.43 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.245e-05/1.269, allocations: 15.28 kB / 1.407 GB, free: 21.42 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.001395/1.27, allocations: 0.6384 MB / 1.408 GB, free: 20.77 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/1.27, allocations: 8.031 kB / 1.408 GB, free: 20.76 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/1.271, allocations: 139.3 kB / 1.408 GB, free: 20.62 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005549/1.272, allocations: 330.5 kB / 1.408 GB, free: 20.29 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/1.272, allocations: 15.94 kB / 1.408 GB, free: 20.27 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.317e-05/1.272, allocations: 24 kB / 1.408 GB, free: 20.25 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00062/1.273, allocations: 388 kB / 1.409 GB, free: 20 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007261/1.273, allocations: 0.5475 MB / 1.409 GB, free: 19.52 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/1.273, allocations: 3.938 kB / 1.409 GB, free: 19.51 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.622e-05/1.274, allocations: 4 kB / 1.409 GB, free: 19.51 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.262e-05/1.274, allocations: 24.77 kB / 1.409 GB, free: 19.48 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003262/1.277, allocations: 3.356 MB / 1.412 GB, free: 16.2 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005904/1.277, allocations: 360.3 kB / 1.413 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/1.278, allocations: 163.8 kB / 1.413 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/1.278, allocations: 4 kB / 1.413 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/1.278, allocations: 38.06 kB / 1.413 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 1.623e-06/1.278, allocations: 0 / 1.413 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of matching and sorting (n=26): time 0.001834/1.28, allocations: 0.6662 MB / 1.414 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/1.28, allocations: 77.11 kB / 1.414 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002864/1.28, allocations: 265 kB / 1.414 GB, free: 14.89 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/1.28, allocations: 25.7 kB / 1.414 GB, free: 14.86 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000123/1.28, allocations: 252.4 kB / 1.414 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.247e-05/1.28, allocations: 94.59 kB / 1.414 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.033e-05/1.28, allocations: 0 / 1.414 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001535/1.28, allocations: 348.1 kB / 1.415 GB, free: 14.22 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/1.281, allocations: 164.2 kB / 1.415 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002943/1.281, allocations: 322.5 kB / 1.415 GB, free: 13.8 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004772/1.281, allocations: 245.2 kB / 1.415 GB, free: 13.63 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/1.281, allocations: 4 kB / 1.415 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001808/1.283, allocations: 0.7209 MB / 1.416 GB, free: 13.03 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001029/1.284, allocations: 2.096 MB / 1.418 GB, free: 10.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/1.284, allocations: 11.98 kB / 1.418 GB, free: 10.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001217/1.285, allocations: 243.1 kB / 1.418 GB, free: 10.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003999/1.286, allocations: 99.64 kB / 1.418 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/1.287, allocations: 1.265 MB / 1.42 GB, free: 9.223 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003761/1.288, allocations: 23.97 kB / 1.42 GB, free: 9.199 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.625e-05/1.288, allocations: 23.55 kB / 1.42 GB, free: 9.18 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/1.288, allocations: 6.188 kB / 1.42 GB, free: 9.176 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007915/1.288, allocations: 447.2 kB / 1.42 GB, free: 8.844 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/1.288, allocations: 12 kB / 1.42 GB, free: 8.832 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/1.288, allocations: 8 kB / 1.42 GB, free: 8.824 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004833/1.289, allocations: 106.9 kB / 1.42 GB, free: 8.723 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.12e-05/1.289, allocations: 15.92 kB / 1.42 GB, free: 8.707 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004214/1.289, allocations: 24.45 kB / 1.42 GB, free: 8.684 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.019e-05/1.289, allocations: 27.19 kB / 1.42 GB, free: 8.66 MB / 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.0002156/1.29, allocations: 116.8 kB / 1.42 GB, free: 8.539 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002554/1.292, allocations: 0.6228 MB / 1.421 GB, free: 8.004 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/1.292, allocations: 35.58 kB / 1.421 GB, free: 7.969 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002615/1.295, allocations: 0.6548 MB / 1.422 GB, free: 7.43 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/1.295, allocations: 4 kB / 1.422 GB, free: 7.426 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/1.295, allocations: 4 kB / 1.422 GB, free: 7.422 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/1.295, allocations: 7.922 kB / 1.422 GB, free: 7.414 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/1.296, allocations: 0.5852 MB / 1.422 GB, free: 6.883 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/1.297, allocations: 0 / 1.422 GB, free: 6.883 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003128/1.297, allocations: 43.22 kB / 1.422 GB, free: 6.844 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002349/1.299, allocations: 410.2 kB / 1.423 GB, free: 6.457 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.624e-05/1.299, allocations: 0 / 1.423 GB, free: 6.457 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005554/1.305, allocations: 3.349 MB / 1.426 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.305, allocations: 0 / 1.426 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002617/1.307, allocations: 0.8515 MB / 1.427 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003432/1.308, allocations: 143.1 kB / 1.427 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.872e-05/1.308, allocations: 4 kB / 1.427 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005642/1.309, allocations: 31.94 kB / 1.427 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/1.309, allocations: 26.97 kB / 1.427 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.519e-05/1.309, allocations: 7.812 kB / 1.427 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003769/1.309, allocations: 201 kB / 1.427 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.51e-07/1.309, allocations: 0 / 1.427 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001598/1.311, allocations: 176 kB / 1.427 GB, free: 1.832 MB / 0.8386 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.00371/1.314, allocations: 1.629 MB / 1.429 GB, free: 268 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002201/1.317, allocations: 0.6793 MB / 1.43 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/1.317, allocations: 0 / 1.43 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/1.318, allocations: 463.9 kB / 1.43 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006923/1.318, allocations: 52.98 kB / 1.43 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002315/1.321, allocations: 0.625 MB / 1.431 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007397/1.322, allocations: 0.8491 MB / 1.432 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0006503/1.322, allocations: 155.2 kB / 1.432 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/1.322, allocations: 113.6 kB / 1.432 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of SimCode: time 1.293e-06/1.322, allocations: 0 / 1.432 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03245/1.355, allocations: 8.447 MB / 1.44 GB, free: 5.258 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001983/1.355, allocations: 144.6 kB / 1.44 GB, free: 5.066 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.185/3.54, allocations: 0 / 1.44 GB, free: 5.066 MB / 0.8542 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat does not exist to compare? outputFormat=mat