Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",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.000859/0.000859, allocations: 86.72 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.001173/0.001174, 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.446/1.446, allocations: 223.2 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.527/2.527, allocations: 409.4 MB / 0.684 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.0003884, allocations: 8 kB / 0.8378 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7902/0.7906, allocations: 146.8 MB / 0.9811 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.006048/0.7967, allocations: 5.459 MB / 0.9865 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004929/0.8016, allocations: 2.979 MB / 0.9894 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004842/0.8022, allocations: 43.62 kB / 0.9894 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0003588/0.8025, allocations: 119 kB / 0.9895 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0009766/0.8035, allocations: 378 kB / 0.9899 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.8046, allocations: 370.2 kB / 0.9903 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001307/0.8059, allocations: 1.213 MB / 0.9914 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001674/0.8076, allocations: 0.9171 MB / 0.9923 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006201/0.8082, allocations: 366.4 kB / 0.9927 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005394/0.8087, allocations: 434.4 kB / 0.9931 GB, free: 9.934 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001499/0.8089, allocations: 32 kB / 0.9931 GB, free: 9.902 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007032/0.8096, allocations: 243.6 kB / 0.9934 GB, free: 9.664 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002756/0.8099, allocations: 255.2 kB / 0.9936 GB, free: 9.414 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001739/0.8101, allocations: 161.3 kB / 0.9938 GB, free: 9.25 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0009507/0.811, allocations: 0.8788 MB / 0.9946 GB, free: 8.371 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.8111, allocations: 0 / 0.9946 GB, free: 8.371 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.245e-06/0.8111, allocations: 0 / 0.9946 GB, free: 8.371 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.8111, allocations: 4 kB / 0.9946 GB, free: 8.367 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001599/0.8127, allocations: 0.9271 MB / 0.9955 GB, free: 7.391 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.8127, allocations: 8.031 kB / 0.9955 GB, free: 7.383 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001404/0.8129, allocations: 114.5 kB / 0.9956 GB, free: 7.262 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001391/0.8143, allocations: 222.7 kB / 0.9959 GB, free: 7.043 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008695/0.8152, allocations: 0.5249 MB / 0.9964 GB, free: 6.473 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.828e-05/0.8152, allocations: 45.31 kB / 0.9964 GB, free: 6.43 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-05/0.8153, allocations: 71.84 kB / 0.9965 GB, free: 6.359 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.8168, allocations: 1.026 MB / 0.9975 GB, free: 5.227 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/0.8168, allocations: 3.938 kB / 0.9975 GB, free: 5.223 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.217e-05/0.8169, allocations: 28 kB / 0.9975 GB, free: 5.195 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.992e-05/0.817, allocations: 73.27 kB / 0.9976 GB, free: 5.121 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.8181, allocations: 0.684 MB / 0.9982 GB, free: 4.438 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005904/0.824, allocations: 5.772 MB / 1.004 GB, free: 14.24 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008834/0.8249, allocations: 0.5934 MB / 1.004 GB, free: 13.6 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007688/0.8257, allocations: 431.4 kB / 1.005 GB, free: 13.18 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.593e-05/0.8258, allocations: 4 kB / 1.005 GB, free: 13.18 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.195e-05/0.8258, allocations: 39.25 kB / 1.005 GB, free: 13.13 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=41): time 2.254e-06/0.8258, allocations: 0 / 1.005 GB, free: 13.13 MB / 0.7637 GB Notification: Performance of matching and sorting (n=42): time 0.004382/0.8302, allocations: 2.053 MB / 1.007 GB, free: 10.98 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.8303, allocations: 55.41 kB / 1.007 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000604/0.8309, allocations: 462.7 kB / 1.007 GB, free: 10.45 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.533e-05/0.8309, allocations: 33.7 kB / 1.007 GB, free: 10.41 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003058/0.8313, allocations: 383.1 kB / 1.008 GB, free: 10.03 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.8314, allocations: 153.8 kB / 1.008 GB, free: 9.879 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.837e-05/0.8314, allocations: 16 kB / 1.008 GB, free: 9.863 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001828/0.8316, allocations: 358.8 kB / 1.008 GB, free: 9.504 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000357/0.832, allocations: 249.2 kB / 1.009 GB, free: 9.258 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005775/0.8326, allocations: 457 kB / 1.009 GB, free: 8.719 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004649/0.833, allocations: 319.7 kB / 1.009 GB, free: 8.406 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.833, allocations: 4 kB / 1.009 GB, free: 8.402 MB / 0.7637 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001796/0.8348, allocations: 1.051 MB / 1.01 GB, free: 7.332 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.8349, allocations: 8 kB / 1.01 GB, free: 7.324 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.8349, allocations: 11.95 kB / 1.01 GB, free: 7.312 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009963/0.8359, allocations: 335.1 kB / 1.011 GB, free: 6.973 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003249/0.8362, allocations: 95.83 kB / 1.011 GB, free: 6.879 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008007/0.8443, allocations: 6.942 MB / 1.018 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000442/0.8447, allocations: 28.03 kB / 1.018 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.173e-05/0.8448, allocations: 28 kB / 1.018 GB, free: 15.35 MB / 0.7794 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 (53): * Single equations (assignments): 49 * 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 {(3,88.9%) 7,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003718/0.8452, allocations: 249.5 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.726e-05/0.8453, allocations: 59.48 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001766/0.847, allocations: 0.9156 MB / 1.019 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.847, allocations: 4 kB / 1.019 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.8471, allocations: 4 kB / 1.019 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.8471, allocations: 3.984 kB / 1.019 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002834/0.8499, allocations: 1.708 MB / 1.02 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.8499, allocations: 4.188 kB / 1.02 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.8501, allocations: 43.97 kB / 1.021 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008856/0.851, allocations: 323.3 kB / 1.021 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.065e-05/0.851, allocations: 8 kB / 1.021 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007699/0.8587, allocations: 6.932 MB / 1.028 GB, free: 4.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.8588, allocations: 0 / 1.028 GB, free: 4.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/0.8605, allocations: 1.007 MB / 1.029 GB, free: 3.375 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002969/0.8608, allocations: 184.3 kB / 1.029 GB, free: 3.176 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.306e-05/0.8609, allocations: 11.94 kB / 1.029 GB, free: 3.164 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/0.8611, allocations: 23.97 kB / 1.029 GB, free: 3.141 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.8612, allocations: 43.84 kB / 1.029 GB, free: 3.098 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-05/0.8613, allocations: 15.98 kB / 1.029 GB, free: 3.082 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003643/0.8616, allocations: 306.9 kB / 1.029 GB, free: 2.785 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8617, allocations: 0 / 1.029 GB, free: 2.785 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0008418/0.8625, allocations: 196 kB / 1.029 GB, free: 2.594 MB / 0.7794 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 (23): * Single equations (assignments): 19 * 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 {(3,88.9%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002024/0.8645, allocations: 1.556 MB / 1.031 GB, free: 0.9805 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001974/0.8665, allocations: 1.191 MB / 1.032 GB, free: 15.74 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.8665, allocations: 3.938 kB / 1.032 GB, free: 15.73 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001198/0.8677, allocations: 0.8623 MB / 1.033 GB, free: 14.82 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009489/0.8687, allocations: 189.8 kB / 1.033 GB, free: 14.64 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006519/0.8752, allocations: 4.018 MB / 1.037 GB, free: 10.45 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007636/0.876, allocations: 0.9959 MB / 1.038 GB, free: 9.43 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003652/0.8764, allocations: 101.2 kB / 1.038 GB, free: 9.332 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002808/0.8767, allocations: 223.4 kB / 1.038 GB, free: 9.113 MB / 0.795 GB Notification: Performance of SimCode: time 1.413e-06/0.8767, allocations: 0 / 1.038 GB, free: 9.113 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03215/0.9089, allocations: 14.59 MB / 1.052 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/0.9091, allocations: 223.8 kB / 1.053 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.02/2.929, allocations: 7.875 kB / 1.053 GB, free: 10.61 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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_L_res.mat does not exist to compare? outputFormat=mat