Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008431/0.0008431, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000889/0.0008891, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 223.2 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.607/2.607, allocations: 409.4 MB / 0.684 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003803/0.0003804, allocations: 8 kB / 0.8378 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8164/0.8168, allocations: 146.8 MB / 0.9811 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01418/0.8311, allocations: 13.34 MB / 0.9942 GB, free: 9.07 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01344/0.8446, allocations: 9.615 MB / 1.004 GB, free: 15.43 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001781/0.8464, allocations: 47.62 kB / 1.004 GB, free: 15.38 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.000867/0.8473, allocations: 281.8 kB / 1.004 GB, free: 15.11 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.004619/0.8519, allocations: 1.457 MB / 1.005 GB, free: 13.65 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.8536, allocations: 0.5213 MB / 1.006 GB, free: 13.13 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.003983/0.8576, allocations: 2.894 MB / 1.009 GB, free: 10.23 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003369/0.8609, allocations: 1.812 MB / 1.01 GB, free: 8.375 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002172/0.8631, allocations: 1.285 MB / 1.012 GB, free: 7.086 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001626/0.8648, allocations: 1.043 MB / 1.013 GB, free: 6.039 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001859/0.865, allocations: 68 kB / 1.013 GB, free: 5.973 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/0.8661, allocations: 439.5 kB / 1.013 GB, free: 5.543 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0004602/0.8665, allocations: 0.4905 MB / 1.014 GB, free: 5.051 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0004048/0.867, allocations: 352.8 kB / 1.014 GB, free: 4.699 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002045/0.869, allocations: 2.119 MB / 1.016 GB, free: 2.574 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.869, allocations: 4 kB / 1.016 GB, free: 2.57 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.783e-06/0.869, allocations: 3.938 kB / 1.016 GB, free: 2.566 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.407e-05/0.8691, allocations: 0 / 1.016 GB, free: 2.566 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003224/0.8723, allocations: 1.855 MB / 1.018 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.8724, allocations: 12.03 kB / 1.018 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002462/0.8726, allocations: 194.2 kB / 1.018 GB, free: 456 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01028/0.8829, allocations: 2.17 MB / 1.02 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003412/0.8864, allocations: 1.166 MB / 1.021 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.8865, allocations: 86.31 kB / 1.021 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003609/0.8869, allocations: 115.9 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006154/0.8931, allocations: 2.69 MB / 1.024 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.276e-05/0.8932, allocations: 4 kB / 1.024 GB, free: 10 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001844/0.8934, allocations: 51.98 kB / 1.024 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006077/0.894, allocations: 190.1 kB / 1.024 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007135/0.9011, allocations: 2.838 MB / 1.027 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01527/0.9164, allocations: 10.56 MB / 1.037 GB, free: 11.77 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005697/0.9222, allocations: 2.379 MB / 1.04 GB, free: 9.367 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002842/0.9251, allocations: 1.303 MB / 1.041 GB, free: 8.062 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 7.992e-05/0.9252, allocations: 13 kB / 1.041 GB, free: 8.051 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.9252, allocations: 43.56 kB / 1.041 GB, free: 8 MB / 0.795 GB Notification: Performance of pre-optimization done (n=89): time 2.896e-06/0.9252, allocations: 0 / 1.041 GB, free: 8 MB / 0.795 GB Notification: Performance of matching and sorting (n=153): time 0.05267/0.9779, allocations: 16.51 MB / 1.057 GB, free: 7.332 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/0.978, allocations: 68.72 kB / 1.057 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001683/0.9797, allocations: 1.16 MB / 1.058 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002865/0.98, allocations: 53.7 kB / 1.058 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006239/0.9806, allocations: 0.7514 MB / 1.059 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005865/0.9812, allocations: 0.5121 MB / 1.06 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.9814, allocations: 28 kB / 1.06 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.9815, allocations: 365.9 kB / 1.06 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003145/0.9847, allocations: 1.522 MB / 1.062 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003324/0.988, allocations: 1.795 MB / 1.063 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003347/0.9914, allocations: 1.65 MB / 1.065 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.9914, allocations: 8 kB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01202/1.003, allocations: 5.288 MB / 1.07 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/1.004, allocations: 8 kB / 1.07 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/1.004, allocations: 8.875 kB / 1.07 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006331/1.01, allocations: 1.892 MB / 1.072 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001854/1.012, allocations: 427.3 kB / 1.072 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02861/1.04, allocations: 22.14 MB / 1.094 GB, free: 416 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002937/1.043, allocations: 315.6 kB / 1.094 GB, free: 100 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004773/1.044, allocations: 71.95 kB / 1.094 GB, free: 28 kB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 17,(3,100.0%) 17,(3,100.0%) 15,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00155/1.045, allocations: 461.4 kB / 1.095 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005818/1.046, allocations: 177.8 kB / 1.095 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01289/1.059, allocations: 5.344 MB / 1.1 GB, free: 10 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-05/1.059, allocations: 19.94 kB / 1.1 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.958e-05/1.059, allocations: 20 kB / 1.1 GB, free: 9.961 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.827e-05/1.059, allocations: 15.98 kB / 1.1 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01592/1.075, allocations: 7.45 MB / 1.108 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.477e-05/1.075, allocations: 4 kB / 1.108 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001505/1.077, allocations: 371.7 kB / 1.108 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005708/1.082, allocations: 1.698 MB / 1.11 GB, free: 292 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002485/1.083, allocations: 47.95 kB / 1.11 GB, free: 244 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02514/1.108, allocations: 21.34 MB / 1.13 GB, free: 9.832 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/1.108, allocations: 4.062 kB / 1.13 GB, free: 9.828 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01235/1.12, allocations: 4.905 MB / 1.135 GB, free: 4.836 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001294/1.122, allocations: 498.8 kB / 1.136 GB, free: 4.328 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005527/1.122, allocations: 27.95 kB / 1.136 GB, free: 4.301 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002109/1.124, allocations: 331.5 kB / 1.136 GB, free: 3.977 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005499/1.125, allocations: 145 kB / 1.136 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001534/1.125, allocations: 55.97 kB / 1.136 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.00108/1.126, allocations: 0.7821 MB / 1.137 GB, free: 3 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.1e-07/1.126, allocations: 0 / 1.137 GB, free: 3 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002481/1.129, allocations: 0.6601 MB / 1.138 GB, free: 2.34 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01118/1.14, allocations: 5.494 MB / 1.143 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.01032/1.15, allocations: 5.18 MB / 1.148 GB, free: 7.469 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/1.15, allocations: 0 / 1.148 GB, free: 7.469 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.006841/1.157, allocations: 3.37 MB / 1.151 GB, free: 3.996 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002881/1.16, allocations: 0.5204 MB / 1.152 GB, free: 3.48 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03602/1.196, allocations: 16.14 MB / 1.168 GB, free: 2.66 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002739/1.199, allocations: 1.561 MB / 1.169 GB, free: 1.062 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002609/1.201, allocations: 386.4 kB / 1.17 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001349/1.203, allocations: 0.6593 MB / 1.17 GB, free: 20 kB / 0.92 GB Notification: Performance of SimCode: time 1.202e-06/1.203, allocations: 0 / 1.17 GB, free: 20 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1106/1.313, allocations: 56.15 MB / 1.225 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000273/1.314, allocations: 236.1 kB / 1.225 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.326/4.639, allocations: 6.469 kB / 1.225 GB, free: 8.316 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat does not exist to compare? outputFormat=mat