Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.271/2.271, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001097/0.001097, allocations: 174.9 kB / 498.1 MB, free: 5.742 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.501/1.501, allocations: 223.1 MB / 0.7948 GB, free: 17.98 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.001015/0.001015, allocations: 99.95 kB / 0.9346 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004007/0.0004003, allocations: 6.844 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3093, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.228/0.5374, allocations: 184.6 MB / 1.403 GB, free: 9.438 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003643/0.5378, allocations: 115.9 kB / 1.403 GB, free: 9.324 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.6632/1.201, allocations: 30.88 MB / 1.433 GB, free: 187.8 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.993e-06/1.201, allocations: 0 / 1.433 GB, free: 187.8 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.975e-05/1.201, allocations: 10.45 kB / 1.433 GB, free: 187.8 MB / 0.9167 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.001734/1.203, allocations: 0.6753 MB / 1.434 GB, free: 187.3 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/1.203, allocations: 13.25 kB / 1.434 GB, free: 187.3 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002314/1.203, allocations: 82.2 kB / 1.434 GB, free: 187.3 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001257/1.205, allocations: 138.2 kB / 1.434 GB, free: 187.3 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007414/1.205, allocations: 333.1 kB / 1.435 GB, free: 187 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.123e-05/1.205, allocations: 34.48 kB / 1.435 GB, free: 187 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/1.205, allocations: 34.69 kB / 1.435 GB, free: 187 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/1.207, allocations: 0.6093 MB / 1.435 GB, free: 186.9 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.077e-05/1.207, allocations: 3.969 kB / 1.435 GB, free: 186.9 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.726e-05/1.207, allocations: 20.56 kB / 1.435 GB, free: 186.9 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.069e-05/1.207, allocations: 28.22 kB / 1.435 GB, free: 186.9 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/1.208, allocations: 475.3 kB / 1.436 GB, free: 186.8 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004113/1.212, allocations: 3.43 MB / 1.439 GB, free: 184.3 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000841/1.213, allocations: 376.1 kB / 1.44 GB, free: 184.3 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.988e-05/1.213, allocations: 8.281 kB / 1.44 GB, free: 184.3 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/1.213, allocations: 41.69 kB / 1.44 GB, free: 184.2 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=25): time 3.035e-06/1.213, allocations: 0 / 1.44 GB, free: 184.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=26): time 0.004012/1.217, allocations: 1.291 MB / 1.441 GB, free: 183.9 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/1.217, allocations: 82.39 kB / 1.441 GB, free: 183.8 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003916/1.218, allocations: 293.7 kB / 1.441 GB, free: 183.7 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/1.218, allocations: 30.48 kB / 1.441 GB, free: 183.7 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/1.218, allocations: 258.1 kB / 1.441 GB, free: 183.5 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 8.074e-05/1.218, allocations: 94.8 kB / 1.442 GB, free: 183.4 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/1.218, allocations: 7.875 kB / 1.442 GB, free: 183.4 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.191e-05/1.218, allocations: 346.1 kB / 1.442 GB, free: 183.1 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003327/1.218, allocations: 179.4 kB / 1.442 GB, free: 183.1 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004008/1.219, allocations: 338.9 kB / 1.442 GB, free: 182.9 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003863/1.219, allocations: 226.6 kB / 1.443 GB, free: 182.9 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/1.219, allocations: 1.406 kB / 1.443 GB, free: 182.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002188/1.221, allocations: 0.8492 MB / 1.443 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004468/1.222, allocations: 2.094 MB / 1.445 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/1.222, allocations: 5.375 kB / 1.445 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001839/1.224, allocations: 417.9 kB / 1.446 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004348/1.224, allocations: 99.36 kB / 1.446 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/1.225, allocations: 1.252 MB / 1.447 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004731/1.226, allocations: 45.88 kB / 1.447 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.035e-05/1.226, allocations: 22.72 kB / 1.447 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/1.226, allocations: 7.75 kB / 1.447 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008053/1.227, allocations: 476.7 kB / 1.448 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/1.227, allocations: 9.375 kB / 1.448 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/1.227, allocations: 9.281 kB / 1.448 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004493/1.227, allocations: 108.7 kB / 1.448 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.608e-05/1.227, allocations: 11.92 kB / 1.448 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/1.227, allocations: 28.12 kB / 1.448 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.095e-05/1.227, allocations: 21.55 kB / 1.448 GB, free: 179.5 MB / 0.9167 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 () * Number of clocked 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.0003153/1.228, allocations: 269.2 kB / 1.448 GB, free: 179.3 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/1.228, allocations: 36.23 kB / 1.448 GB, free: 179.3 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001896/1.23, allocations: 0.6758 MB / 1.449 GB, free: 179.2 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/1.23, allocations: 4.344 kB / 1.449 GB, free: 179.2 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/1.23, allocations: 0 / 1.449 GB, free: 179.2 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/1.23, allocations: 2.375 kB / 1.449 GB, free: 179.2 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/1.231, allocations: 0.6581 MB / 1.45 GB, free: 178.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/1.231, allocations: 1.094 kB / 1.45 GB, free: 178.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/1.231, allocations: 42.91 kB / 1.45 GB, free: 178.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001722/1.233, allocations: 407.6 kB / 1.45 GB, free: 178.9 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.821e-05/1.233, allocations: 6.188 kB / 1.45 GB, free: 178.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003579/1.237, allocations: 3.561 MB / 1.453 GB, free: 176.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.237, allocations: 4.656 kB / 1.453 GB, free: 176.3 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/1.238, allocations: 0.8564 MB / 1.454 GB, free: 176 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002154/1.238, allocations: 145.3 kB / 1.454 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.493e-05/1.239, allocations: 14.03 kB / 1.454 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003523/1.239, allocations: 40.42 kB / 1.454 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.911e-05/1.239, allocations: 31.73 kB / 1.454 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/1.239, allocations: 6.719 kB / 1.454 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002509/1.239, allocations: 227.5 kB / 1.455 GB, free: 175.8 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.5e-07/1.239, allocations: 0 / 1.455 GB, free: 175.8 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0009381/1.24, allocations: 193.7 kB / 1.455 GB, free: 175.8 MB / 0.9167 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 () * Number of clocked 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.002092/1.242, allocations: 1.657 MB / 1.457 GB, free: 174.7 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001416/1.244, allocations: 0.7256 MB / 1.457 GB, free: 174.7 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/1.244, allocations: 0 / 1.457 GB, free: 174.7 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006933/1.244, allocations: 484.3 kB / 1.458 GB, free: 174.4 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/1.245, allocations: 59.03 kB / 1.458 GB, free: 174.4 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004563/1.249, allocations: 6.073 MB / 1.464 GB, free: 169.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/1.25, allocations: 0.8526 MB / 1.464 GB, free: 169.1 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004595/1.25, allocations: 142.6 kB / 1.465 GB, free: 169.1 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/1.25, allocations: 114.8 kB / 1.465 GB, free: 169 MB / 0.9167 GB Notification: Performance of SimCode: time 1.002e-06/1.25, allocations: 2.25 kB / 1.465 GB, free: 169 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/1.274, allocations: 8.935 MB / 1.473 GB, free: 168.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001585/1.274, allocations: 219.8 kB / 1.474 GB, free: 168.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.127/3.401, allocations: 3.938 kB / 1.474 GB, free: 168.3 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe_res.mat does not exist to compare? outputFormat=mat