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.001813/0.001813, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.002652/0.002652, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.583/2.583, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.622/4.622, allocations: 409.2 MB / 0.6838 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005188/0.0005188, allocations: 8 kB / 0.8375 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.731/1.731, allocations: 146.8 MB / 0.9809 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.03216/1.764, allocations: 11.91 MB / 0.9925 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.03254/1.796, allocations: 8.643 MB / 1.001 GB, free: 1.707 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004194/1.801, allocations: 51.62 kB / 1.001 GB, free: 1.656 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002905/1.804, allocations: 254.2 kB / 1.001 GB, free: 1.406 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01293/1.817, allocations: 1.25 MB / 1.002 GB, free: 164 kB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0051/1.822, allocations: 0.5214 MB / 1.003 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.008908/1.831, allocations: 1.511 MB / 1.004 GB, free: 14.13 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01029/1.841, allocations: 1.804 MB / 1.006 GB, free: 12.28 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005193/1.847, allocations: 0.7745 MB / 1.007 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00449/1.851, allocations: 0.8289 MB / 1.008 GB, free: 10.67 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001214/1.852, allocations: 72 kB / 1.008 GB, free: 10.6 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003709/1.856, allocations: 391.5 kB / 1.008 GB, free: 10.22 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001896/1.858, allocations: 474.5 kB / 1.009 GB, free: 9.754 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001911/1.86, allocations: 348.8 kB / 1.009 GB, free: 9.406 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.007725/1.868, allocations: 2.071 MB / 1.011 GB, free: 7.332 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 1.157e-05/1.868, allocations: 0 / 1.011 GB, free: 7.332 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.074e-06/1.868, allocations: 0 / 1.011 GB, free: 7.332 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001934/1.868, allocations: 0 / 1.011 GB, free: 7.332 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.009462/1.878, allocations: 1.817 MB / 1.013 GB, free: 5.461 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001128/1.878, allocations: 8.031 kB / 1.013 GB, free: 5.453 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001425/1.879, allocations: 194.2 kB / 1.013 GB, free: 5.254 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01932/1.899, allocations: 2.166 MB / 1.015 GB, free: 3.082 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006776/1.905, allocations: 1.158 MB / 1.016 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002421/1.906, allocations: 90.36 kB / 1.016 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009381/1.907, allocations: 119.9 kB / 1.016 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01382/1.921, allocations: 2.675 MB / 1.019 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002289/1.921, allocations: 7.938 kB / 1.019 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008233/1.922, allocations: 59.95 kB / 1.019 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004052/1.926, allocations: 182.1 kB / 1.019 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0149/1.941, allocations: 2.838 MB / 1.022 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03474/1.976, allocations: 10.56 MB / 1.032 GB, free: 0.5977 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01283/1.989, allocations: 2.577 MB / 1.035 GB, free: 13.96 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002889/1.989, allocations: 12.98 kB / 1.035 GB, free: 13.95 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001355/1.989, allocations: 47.5 kB / 1.035 GB, free: 13.89 MB / 0.795 GB Notification: Performance of pre-optimization done (n=89): time 1.208e-05/1.989, allocations: 0 / 1.035 GB, free: 13.89 MB / 0.795 GB Notification: Performance of matching and sorting (n=131): time 0.08522/2.075, allocations: 13.42 MB / 1.048 GB, free: 256 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002592/2.075, allocations: 68.67 kB / 1.048 GB, free: 176 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003872/2.079, allocations: 1.109 MB / 1.049 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0005489/2.079, allocations: 49.69 kB / 1.049 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001084/2.081, allocations: 0.7078 MB / 1.05 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.00125/2.082, allocations: 457.4 kB / 1.05 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004008/2.082, allocations: 28 kB / 1.05 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0003063/2.083, allocations: 357.9 kB / 1.051 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006032/2.089, allocations: 1.358 MB / 1.052 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006831/2.096, allocations: 1.624 MB / 1.054 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006932/2.103, allocations: 1.45 MB / 1.055 GB, free: 8.91 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.762e-05/2.103, allocations: 7.938 kB / 1.055 GB, free: 8.902 MB / 0.8106 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.02279/2.126, allocations: 4.466 MB / 1.059 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.361e-05/2.126, allocations: 9.406 kB / 1.059 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.161e-05/2.126, allocations: 8 kB / 1.059 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0106/2.136, allocations: 1.428 MB / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004521/2.141, allocations: 451.2 kB / 1.061 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05114/2.192, allocations: 25 MB / 1.086 GB, free: 7.707 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004689/2.197, allocations: 311.5 kB / 1.086 GB, free: 7.402 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004359/2.198, allocations: 59.97 kB / 1.086 GB, free: 7.344 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.001765/2.199, allocations: 437.5 kB / 1.086 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007376/2.2, allocations: 166.1 kB / 1.087 GB, free: 6.742 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01965/2.22, allocations: 4.481 MB / 1.091 GB, free: 2.203 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.305e-05/2.22, allocations: 12 kB / 1.091 GB, free: 2.191 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.364e-05/2.22, allocations: 16 kB / 1.091 GB, free: 2.176 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.801e-05/2.22, allocations: 3.984 kB / 1.091 GB, free: 2.172 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0313/2.251, allocations: 6.821 MB / 1.098 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.794e-05/2.252, allocations: 0 / 1.098 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003454/2.255, allocations: 395.6 kB / 1.098 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008582/2.264, allocations: 1.303 MB / 1.099 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005751/2.264, allocations: 39.97 kB / 1.099 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05084/2.315, allocations: 23.98 MB / 1.123 GB, free: 15.69 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.095e-05/2.315, allocations: 7.938 kB / 1.123 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02061/2.336, allocations: 4.376 MB / 1.127 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002514/2.339, allocations: 458.9 kB / 1.128 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001056/2.34, allocations: 24 kB / 1.128 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004773/2.345, allocations: 323.4 kB / 1.128 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001305/2.346, allocations: 128.8 kB / 1.128 GB, free: 10.19 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005878/2.347, allocations: 47.97 kB / 1.128 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002965/2.35, allocations: 0.737 MB / 1.129 GB, free: 9.406 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.082e-06/2.35, allocations: 0 / 1.129 GB, free: 9.406 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.005481/2.355, allocations: 0.5742 MB / 1.129 GB, free: 8.832 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.02256/2.378, allocations: 5.694 MB / 1.135 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.02061/2.398, allocations: 5.143 MB / 1.14 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.997e-05/2.399, allocations: 0 / 1.14 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.01344/2.412, allocations: 3.523 MB / 1.143 GB, free: 9.98 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005593/2.418, allocations: 494.6 kB / 1.144 GB, free: 9.504 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06994/2.488, allocations: 18.84 MB / 1.162 GB, free: 6.133 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002776/2.491, allocations: 1.505 MB / 1.164 GB, free: 4.598 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.003726/2.495, allocations: 425.6 kB / 1.164 GB, free: 4.176 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001882/2.496, allocations: 0.6281 MB / 1.165 GB, free: 3.547 MB / 0.92 GB Notification: Performance of SimCode: time 2.304e-06/2.496, allocations: 0 / 1.165 GB, free: 3.547 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2638/2.76, allocations: 49.67 MB / 1.213 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004903/2.761, allocations: 228.3 kB / 1.213 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.592/9.353, allocations: 0 / 1.213 GB, free: 2.285 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