Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.378/2.378, allocations: 393.5 MB / 408.4 MB, free: 10.91 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.001328/0.001328, allocations: 183.9 kB / 0.4901 GB, free: 2.09 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.606/1.606, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.001133/0.001133, allocations: 102.1 kB / 0.9396 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003222/0.0003222, allocations: 10.38 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3022, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.216/0.5183, allocations: 176 MB / 1.401 GB, free: 9.379 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003557/0.5187, allocations: 95.94 kB / 1.401 GB, free: 9.285 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.69/1.209, allocations: 55.83 MB / 1.456 GB, free: 178.9 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.144e-06/1.209, allocations: 1.312 kB / 1.456 GB, free: 178.9 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.97e-05/1.209, allocations: 24.66 kB / 1.456 GB, free: 178.9 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002327/1.211, allocations: 1.06 MB / 1.457 GB, free: 178.2 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/1.211, allocations: 13.97 kB / 1.457 GB, free: 178.2 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003266/1.212, allocations: 129.6 kB / 1.457 GB, free: 178.2 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001817/1.213, allocations: 242.7 kB / 1.457 GB, free: 178.1 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/1.215, allocations: 0.5325 MB / 1.458 GB, free: 177.8 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.987e-05/1.215, allocations: 48.25 kB / 1.458 GB, free: 177.8 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001814/1.215, allocations: 65.59 kB / 1.458 GB, free: 177.8 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002201/1.217, allocations: 1.141 MB / 1.459 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.713e-05/1.217, allocations: 6.438 kB / 1.459 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/1.217, allocations: 34.05 kB / 1.459 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.987e-05/1.217, allocations: 57.44 kB / 1.459 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/1.219, allocations: 0.7509 MB / 1.46 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004567/1.223, allocations: 5.906 MB / 1.466 GB, free: 172.4 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008343/1.224, allocations: 0.5456 MB / 1.466 GB, free: 172.3 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/1.224, allocations: 10.75 kB / 1.466 GB, free: 172.3 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/1.224, allocations: 41.41 kB / 1.466 GB, free: 172.3 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=47): time 2.094e-06/1.224, allocations: 0 / 1.466 GB, free: 172.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=48): time 0.003274/1.228, allocations: 1.979 MB / 1.468 GB, free: 171.3 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/1.228, allocations: 58.03 kB / 1.468 GB, free: 171.2 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004793/1.228, allocations: 0.4938 MB / 1.469 GB, free: 170.9 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/1.228, allocations: 33.52 kB / 1.469 GB, free: 170.9 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/1.228, allocations: 405 kB / 1.469 GB, free: 170.5 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 8.974e-05/1.228, allocations: 174.5 kB / 1.469 GB, free: 170.4 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.182e-05/1.228, allocations: 15.12 kB / 1.469 GB, free: 170.4 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.407e-05/1.228, allocations: 372.2 kB / 1.47 GB, free: 170 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003206/1.229, allocations: 271.9 kB / 1.47 GB, free: 169.9 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003734/1.229, allocations: 464.1 kB / 1.47 GB, free: 169.5 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003907/1.23, allocations: 337.9 kB / 1.471 GB, free: 169.3 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/1.23, allocations: 6.234 kB / 1.471 GB, free: 169.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001572/1.231, allocations: 1.046 MB / 1.472 GB, free: 168.7 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/1.231, allocations: 7.875 kB / 1.472 GB, free: 168.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/1.231, allocations: 11.94 kB / 1.472 GB, free: 168.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000865/1.232, allocations: 286.3 kB / 1.472 GB, free: 168.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004568/1.233, allocations: 119.7 kB / 1.472 GB, free: 168.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004984/1.238, allocations: 6.703 MB / 1.479 GB, free: 162.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007748/1.238, allocations: 34.81 kB / 1.479 GB, free: 162.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.783e-05/1.238, allocations: 32.05 kB / 1.479 GB, free: 162.3 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (63): * Single equations (assignments): 59 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005413/1.239, allocations: 255.4 kB / 1.479 GB, free: 162.1 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001921/1.239, allocations: 71.84 kB / 1.479 GB, free: 162.1 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001649/1.241, allocations: 0.8865 MB / 1.48 GB, free: 161.5 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/1.241, allocations: 9.375 kB / 1.48 GB, free: 161.5 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-05/1.241, allocations: 3.5 kB / 1.48 GB, free: 161.5 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/1.241, allocations: 3.938 kB / 1.48 GB, free: 161.5 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003179/1.244, allocations: 1.718 MB / 1.481 GB, free: 160.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/1.244, allocations: 0 / 1.481 GB, free: 160.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002945/1.244, allocations: 65.89 kB / 1.482 GB, free: 160.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007492/1.245, allocations: 267.7 kB / 1.482 GB, free: 160.2 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.461e-05/1.245, allocations: 14.56 kB / 1.482 GB, free: 160.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005329/1.251, allocations: 6.692 MB / 1.488 GB, free: 154 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.251, allocations: 0 / 1.488 GB, free: 154 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/1.252, allocations: 1.046 MB / 1.489 GB, free: 153.2 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005536/1.253, allocations: 188.1 kB / 1.49 GB, free: 153.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002431/1.253, allocations: 15.7 kB / 1.49 GB, free: 153.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005714/1.254, allocations: 38.91 kB / 1.49 GB, free: 153 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/1.254, allocations: 42.72 kB / 1.49 GB, free: 153 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.574e-05/1.254, allocations: 15.34 kB / 1.49 GB, free: 153 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0005381/1.255, allocations: 387.1 kB / 1.49 GB, free: 152.8 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.3e-07/1.255, allocations: 4 kB / 1.49 GB, free: 152.8 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001116/1.256, allocations: 233 kB / 1.49 GB, free: 152.7 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001696/1.257, allocations: 2.023 MB / 1.492 GB, free: 150.6 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001727/1.259, allocations: 1.26 MB / 1.493 GB, free: 149.3 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/1.259, allocations: 0 / 1.493 GB, free: 149.3 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/1.26, allocations: 0.8854 MB / 1.494 GB, free: 148.3 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009261/1.261, allocations: 204.4 kB / 1.495 GB, free: 148.1 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006433/1.268, allocations: 8.328 MB / 1.503 GB, free: 139.6 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005309/1.268, allocations: 1.028 MB / 1.504 GB, free: 138.5 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004712/1.269, allocations: 113.9 kB / 1.504 GB, free: 138.4 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002799/1.269, allocations: 255.3 kB / 1.504 GB, free: 138.2 MB / 0.9167 GB Notification: Performance of SimCode: time 1.022e-06/1.269, allocations: 0 / 1.504 GB, free: 138.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03511/1.304, allocations: 16.37 MB / 1.52 GB, free: 122.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/1.304, allocations: 226.7 kB / 1.52 GB, free: 121.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.344/3.648, allocations: 0 / 1.52 GB, free: 121.9 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat does not exist to compare? outputFormat=mat