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.347/2.347, allocations: 387.1 MB / 399.7 MB, free: 9.465 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.001122/0.001122, allocations: 180.1 kB / 492.3 MB, free: 0.625 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.522/1.522, allocations: 221.3 MB / 0.7871 GB, free: 12.9 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.000894/0.0008936, allocations: 95.89 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.05e-05/3.052e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2745, allocations: 142.3 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9619/1.236, allocations: 180.9 MB / 1.389 GB, free: 16.75 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003248/1.237, allocations: 90.31 kB / 1.389 GB, free: 16.74 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0598/1.297, allocations: 25.65 MB / 1.414 GB, free: 12.97 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.014e-06/1.297, allocations: 0 / 1.414 GB, free: 12.97 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.375e-05/1.297, allocations: 8 kB / 1.414 GB, free: 12.96 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.001522/1.298, allocations: 0.644 MB / 1.415 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/1.298, allocations: 8.031 kB / 1.415 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002069/1.299, allocations: 83.14 kB / 1.415 GB, free: 12.23 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/1.3, allocations: 143.3 kB / 1.415 GB, free: 12.09 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006571/1.301, allocations: 327 kB / 1.415 GB, free: 11.75 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/1.301, allocations: 28.47 kB / 1.415 GB, free: 11.73 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/1.301, allocations: 41.36 kB / 1.415 GB, free: 11.71 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/1.302, allocations: 0.6042 MB / 1.416 GB, free: 11.2 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/1.302, allocations: 3.562 kB / 1.416 GB, free: 11.2 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.547e-05/1.302, allocations: 17.8 kB / 1.416 GB, free: 11.19 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.332e-05/1.302, allocations: 28.77 kB / 1.416 GB, free: 11.16 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008252/1.303, allocations: 465.1 kB / 1.417 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004055/1.307, allocations: 3.441 MB / 1.42 GB, free: 7.473 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000694/1.308, allocations: 367.3 kB / 1.42 GB, free: 7.203 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002524/1.308, allocations: 161.5 kB / 1.42 GB, free: 7.094 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.911e-05/1.308, allocations: 19.92 kB / 1.42 GB, free: 7.074 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/1.308, allocations: 38.12 kB / 1.42 GB, free: 7.031 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 2.354e-06/1.308, allocations: 0 / 1.42 GB, free: 7.031 MB / 0.8386 GB Notification: Performance of matching and sorting (n=26): time 0.002099/1.31, allocations: 0.7435 MB / 1.421 GB, free: 6.383 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/1.31, allocations: 88.73 kB / 1.421 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003645/1.311, allocations: 286.8 kB / 1.422 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.003e-05/1.311, allocations: 33.52 kB / 1.422 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/1.311, allocations: 256.6 kB / 1.422 GB, free: 5.789 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.25e-05/1.311, allocations: 96.95 kB / 1.422 GB, free: 5.707 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/1.311, allocations: 10.75 kB / 1.422 GB, free: 5.703 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001558/1.311, allocations: 343.1 kB / 1.422 GB, free: 5.371 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002735/1.311, allocations: 166.8 kB / 1.422 GB, free: 5.266 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003738/1.312, allocations: 337.7 kB / 1.423 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003599/1.312, allocations: 226.6 kB / 1.423 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/1.312, allocations: 0 / 1.423 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002017/1.314, allocations: 0.8389 MB / 1.424 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001037/1.315, allocations: 2.097 MB / 1.426 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/1.315, allocations: 4 kB / 1.426 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001738/1.317, allocations: 417.7 kB / 1.426 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000413/1.317, allocations: 99.69 kB / 1.426 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/1.319, allocations: 1.254 MB / 1.428 GB, free: 116 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004248/1.319, allocations: 41.83 kB / 1.428 GB, free: 80 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.006e-05/1.319, allocations: 27.17 kB / 1.428 GB, free: 56 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/1.319, allocations: 4 kB / 1.428 GB, free: 52 kB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007415/1.32, allocations: 467.6 kB / 1.428 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/1.32, allocations: 12.16 kB / 1.428 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/1.32, allocations: 8 kB / 1.428 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004158/1.32, allocations: 111.7 kB / 1.428 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/1.32, allocations: 8 kB / 1.428 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003011/1.321, allocations: 31.14 kB / 1.428 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.457e-05/1.321, allocations: 27.48 kB / 1.428 GB, free: 15.54 MB / 0.8542 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.0001565/1.321, allocations: 133.8 kB / 1.428 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/1.321, allocations: 35.58 kB / 1.428 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001744/1.323, allocations: 0.6614 MB / 1.429 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/1.323, allocations: 4 kB / 1.429 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/1.323, allocations: 0 / 1.429 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/1.323, allocations: 3.938 kB / 1.429 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/1.324, allocations: 0.659 MB / 1.43 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/1.324, allocations: 3.984 kB / 1.43 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/1.324, allocations: 39.97 kB / 1.43 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001602/1.326, allocations: 405.7 kB / 1.43 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.063e-05/1.326, allocations: 4.5 kB / 1.43 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004099/1.33, allocations: 3.479 MB / 1.434 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.33, allocations: 0 / 1.434 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001794/1.332, allocations: 0.8567 MB / 1.434 GB, free: 9.57 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002416/1.332, allocations: 144.1 kB / 1.435 GB, free: 9.426 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.192e-05/1.332, allocations: 4 kB / 1.435 GB, free: 9.422 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003772/1.332, allocations: 35.81 kB / 1.435 GB, free: 9.391 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.602e-05/1.333, allocations: 35.36 kB / 1.435 GB, free: 9.359 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/1.333, allocations: 7.875 kB / 1.435 GB, free: 9.355 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003009/1.333, allocations: 232.5 kB / 1.435 GB, free: 9.172 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.91e-07/1.333, allocations: 0 / 1.435 GB, free: 9.172 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0009037/1.334, allocations: 191.2 kB / 1.435 GB, free: 9.004 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.002326/1.336, allocations: 1.648 MB / 1.437 GB, free: 7.426 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001523/1.338, allocations: 0.7229 MB / 1.437 GB, free: 6.891 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/1.338, allocations: 3.938 kB / 1.437 GB, free: 6.887 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0007813/1.338, allocations: 479.2 kB / 1.438 GB, free: 6.457 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004938/1.339, allocations: 66.92 kB / 1.438 GB, free: 6.414 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/1.341, allocations: 0.6411 MB / 1.438 GB, free: 5.812 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006383/1.341, allocations: 0.8515 MB / 1.439 GB, free: 4.949 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0005673/1.342, allocations: 155.2 kB / 1.439 GB, free: 4.793 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/1.342, allocations: 114.5 kB / 1.44 GB, free: 4.754 MB / 0.8542 GB Notification: Performance of SimCode: time 1.783e-06/1.342, allocations: 0 / 1.44 GB, free: 4.754 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02698/1.369, allocations: 9.213 MB / 1.449 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002282/1.37, allocations: 190 kB / 1.449 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.249/3.618, allocations: 0 / 1.449 GB, free: 11.52 MB / 0.8698 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