Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.0009867/0.0009866, allocations: 86.64 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.001021/0.001022, 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.508/1.508, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.628/2.628, allocations: 409.4 MB / 0.684 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.0003713, allocations: 8 kB / 0.8378 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8538/0.8542, allocations: 146.8 MB / 0.9811 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01371/0.868, allocations: 12.68 MB / 0.9935 GB, free: 9.508 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01303/0.8811, allocations: 8.751 MB / 1.002 GB, free: 0.7344 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001827/0.883, allocations: 51.62 kB / 1.002 GB, free: 0.6836 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001212/0.8842, allocations: 261.8 kB / 1.002 GB, free: 436 kB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004198/0.8884, allocations: 1.275 MB / 1.004 GB, free: 15.15 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001572/0.89, allocations: 0.5145 MB / 1.004 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.003024/0.893, allocations: 2.667 MB / 1.007 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003015/0.8961, allocations: 1.813 MB / 1.008 GB, free: 10.11 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001486/0.8976, allocations: 0.8442 MB / 1.009 GB, free: 9.258 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001868/0.8994, allocations: 1.02 MB / 1.01 GB, free: 8.234 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0003889/0.8998, allocations: 72 kB / 1.01 GB, free: 8.164 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001395/0.9012, allocations: 435.5 kB / 1.011 GB, free: 7.738 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0007006/0.902, allocations: 0.4984 MB / 1.011 GB, free: 7.238 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0005768/0.9025, allocations: 344.8 kB / 1.012 GB, free: 6.895 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.00216/0.9047, allocations: 2.119 MB / 1.014 GB, free: 4.77 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.9047, allocations: 4 kB / 1.014 GB, free: 4.766 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.264e-06/0.9047, allocations: 0 / 1.014 GB, free: 4.766 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.842e-05/0.9048, allocations: 0 / 1.014 GB, free: 4.766 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.003611/0.9084, allocations: 1.831 MB / 1.015 GB, free: 2.879 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.9085, allocations: 12.03 kB / 1.015 GB, free: 2.867 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002887/0.9088, allocations: 194.2 kB / 1.016 GB, free: 2.668 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009996/0.9188, allocations: 2.143 MB / 1.018 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003497/0.9223, allocations: 1.158 MB / 1.019 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/0.9225, allocations: 86.28 kB / 1.019 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005658/0.9231, allocations: 119.9 kB / 1.019 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006994/0.9301, allocations: 2.692 MB / 1.022 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.827e-05/0.9302, allocations: 11.94 kB / 1.022 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003178/0.9305, allocations: 51.98 kB / 1.022 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006051/0.9311, allocations: 182.1 kB / 1.022 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007467/0.9386, allocations: 2.842 MB / 1.025 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01566/0.9543, allocations: 10.57 MB / 1.035 GB, free: 14.02 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00599/0.9603, allocations: 2.566 MB / 1.038 GB, free: 11.39 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002785/0.9631, allocations: 1.309 MB / 1.039 GB, free: 10.08 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 7.926e-05/0.9632, allocations: 9 kB / 1.039 GB, free: 10.07 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.9633, allocations: 47.52 kB / 1.039 GB, free: 10.01 MB / 0.795 GB Notification: Performance of pre-optimization done (n=89): time 3.136e-06/0.9633, allocations: 0 / 1.039 GB, free: 10.01 MB / 0.795 GB Notification: Performance of matching and sorting (n=131): time 0.04096/1.004, allocations: 13.44 MB / 1.052 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.837e-05/1.004, allocations: 64.72 kB / 1.052 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/1.006, allocations: 1.121 MB / 1.053 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001475/1.007, allocations: 49.7 kB / 1.053 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006043/1.007, allocations: 0.7155 MB / 1.054 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005374/1.008, allocations: 461.3 kB / 1.054 GB, free: 9.914 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/1.008, allocations: 24 kB / 1.054 GB, free: 9.891 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001652/1.008, allocations: 357.9 kB / 1.055 GB, free: 9.535 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003074/1.011, allocations: 1.354 MB / 1.056 GB, free: 8.18 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003148/1.014, allocations: 1.62 MB / 1.058 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003086/1.017, allocations: 1.454 MB / 1.059 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/1.017, allocations: 4 kB / 1.059 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01021/1.028, allocations: 4.459 MB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/1.028, allocations: 8.125 kB / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/1.028, allocations: 12 kB / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00472/1.032, allocations: 1.431 MB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001809/1.034, allocations: 451.2 kB / 1.065 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02511/1.059, allocations: 24.52 MB / 1.089 GB, free: 4.289 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00235/1.062, allocations: 311.7 kB / 1.089 GB, free: 3.984 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002851/1.062, allocations: 59.97 kB / 1.09 GB, free: 3.926 MB / 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 (99): * Single equations (assignments): 86 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001037/1.063, allocations: 437.5 kB / 1.09 GB, free: 3.488 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004325/1.064, allocations: 170.1 kB / 1.09 GB, free: 3.32 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0105/1.074, allocations: 4.477 MB / 1.094 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.815e-05/1.074, allocations: 12 kB / 1.095 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.427e-05/1.074, allocations: 19.95 kB / 1.095 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/1.074, allocations: 11.97 kB / 1.095 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01403/1.088, allocations: 6.806 MB / 1.101 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/1.088, allocations: 0 / 1.101 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001555/1.09, allocations: 391.3 kB / 1.102 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004234/1.094, allocations: 1.314 MB / 1.103 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001737/1.094, allocations: 39.97 kB / 1.103 GB, free: 5.988 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02366/1.118, allocations: 23.5 MB / 1.126 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/1.118, allocations: 8.094 kB / 1.126 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01022/1.128, allocations: 4.227 MB / 1.13 GB, free: 8.426 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/1.129, allocations: 459.1 kB / 1.13 GB, free: 7.957 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004555/1.13, allocations: 27.94 kB / 1.13 GB, free: 7.93 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002054/1.132, allocations: 315.5 kB / 1.131 GB, free: 7.621 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004626/1.132, allocations: 128.7 kB / 1.131 GB, free: 7.496 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001516/1.133, allocations: 51.95 kB / 1.131 GB, free: 7.445 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001294/1.134, allocations: 0.7448 MB / 1.132 GB, free: 6.699 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.51e-07/1.134, allocations: 4 kB / 1.132 GB, free: 6.695 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002493/1.136, allocations: 0.5664 MB / 1.132 GB, free: 6.129 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 (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(2,100.0%) 4,(3,100.0%) 9,(2,100.0%) 4,(3,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01007/1.146, allocations: 4.813 MB / 1.137 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.01013/1.157, allocations: 5.131 MB / 1.142 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 9.918e-06/1.157, allocations: 128 / 1.142 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.006325/1.163, allocations: 3.523 MB / 1.145 GB, free: 8.211 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002791/1.166, allocations: 0.5043 MB / 1.146 GB, free: 7.715 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03277/1.199, allocations: 14.38 MB / 1.16 GB, free: 8.844 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002041/1.201, allocations: 1.473 MB / 1.161 GB, free: 7.34 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002024/1.203, allocations: 433.5 kB / 1.162 GB, free: 6.91 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001089/1.204, allocations: 0.6242 MB / 1.162 GB, free: 6.285 MB / 0.92 GB Notification: Performance of SimCode: time 1.242e-06/1.204, allocations: 0 / 1.162 GB, free: 6.285 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08725/1.291, allocations: 49.7 MB / 1.211 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/1.291, allocations: 229.9 kB / 1.211 GB, free: 5 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.225/4.516, allocations: 0 / 1.211 GB, free: 5 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat does not exist to compare? outputFormat=mat