Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.506/2.506, allocations: 284.9 MB / 292.4 MB, free: 10.59 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001482/0.001482, allocations: 184.8 kB / 360.6 MB, free: 7.262 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.064/2.064, allocations: 205.3 MB / 0.6191 GB, free: 12.17 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 99.02 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.939e-05/2.938e-05, allocations: 4 kB / 0.8509 GB, free: 3.309 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8571/0.8572, allocations: 115.3 MB / 0.9634 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3373/1.195, allocations: 180.4 MB / 1.14 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003538/1.195, allocations: 92.78 kB / 1.14 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.132/1.327, allocations: 31.12 MB / 1.17 GB, free: 8.527 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.408e-06/1.327, allocations: 3.984 kB / 1.17 GB, free: 8.523 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.97e-05/1.327, allocations: 20 kB / 1.17 GB, free: 8.504 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002065/1.329, allocations: 0.7984 MB / 1.171 GB, free: 7.66 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/1.329, allocations: 12.02 kB / 1.171 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002289/1.332, allocations: 196.1 kB / 1.171 GB, free: 7.457 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/1.333, allocations: 496.2 kB / 1.172 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.683e-05/1.333, allocations: 16 kB / 1.172 GB, free: 6.918 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002321/1.334, allocations: 35.91 kB / 1.172 GB, free: 6.883 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001325/1.335, allocations: 462.5 kB / 1.172 GB, free: 6.43 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/1.337, allocations: 0.785 MB / 1.173 GB, free: 5.531 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.979e-05/1.337, allocations: 7.984 kB / 1.173 GB, free: 5.523 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.52e-05/1.337, allocations: 4 kB / 1.173 GB, free: 5.52 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001075/1.337, allocations: 37.3 kB / 1.173 GB, free: 5.484 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007433/1.344, allocations: 4.491 MB / 1.177 GB, free: 0.6602 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008111/1.345, allocations: 286.4 kB / 1.178 GB, free: 380 kB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004877/1.346, allocations: 212.8 kB / 1.178 GB, free: 164 kB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.187e-05/1.346, allocations: 4 kB / 1.178 GB, free: 160 kB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.115e-05/1.346, allocations: 35.38 kB / 1.178 GB, free: 116 kB / 0.7761 GB Notification: Performance of pre-optimization done (n=33): time 3.056e-06/1.346, allocations: 0 / 1.178 GB, free: 116 kB / 0.7761 GB Notification: Performance of matching and sorting (n=40): time 0.006591/1.353, allocations: 1.989 MB / 1.18 GB, free: 14.04 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/1.353, allocations: 55.41 kB / 1.18 GB, free: 13.97 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006508/1.353, allocations: 333.1 kB / 1.18 GB, free: 13.64 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 8.198e-05/1.353, allocations: 25.7 kB / 1.18 GB, free: 13.61 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.000332/1.354, allocations: 339.6 kB / 1.18 GB, free: 13.27 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/1.354, allocations: 138 kB / 1.181 GB, free: 13.13 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/1.354, allocations: 0 / 1.181 GB, free: 13.13 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002015/1.354, allocations: 358.8 kB / 1.181 GB, free: 12.77 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005471/1.355, allocations: 217 kB / 1.181 GB, free: 12.56 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007085/1.356, allocations: 367.3 kB / 1.181 GB, free: 12.14 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006864/1.356, allocations: 275.6 kB / 1.182 GB, free: 11.87 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/1.356, allocations: 4 kB / 1.182 GB, free: 11.87 MB / 0.7917 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002761/1.359, allocations: 0.8199 MB / 1.183 GB, free: 11.03 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.275e-05/1.359, allocations: 5.188 kB / 1.183 GB, free: 11.03 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/1.359, allocations: 15.95 kB / 1.183 GB, free: 11.01 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001314/1.36, allocations: 225.2 kB / 1.183 GB, free: 10.79 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/1.362, allocations: 107.9 kB / 1.183 GB, free: 10.68 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007239/1.369, allocations: 4.727 MB / 1.187 GB, free: 5.609 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008247/1.37, allocations: 19.97 kB / 1.187 GB, free: 5.59 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-05/1.37, allocations: 23.94 kB / 1.188 GB, free: 5.566 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002117/1.37, allocations: 120.6 kB / 1.188 GB, free: 5.445 MB / 0.7917 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00233/1.372, allocations: 0.6828 MB / 1.188 GB, free: 4.746 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002123/1.373, allocations: 51.38 kB / 1.188 GB, free: 4.695 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00247/1.375, allocations: 0.7268 MB / 1.189 GB, free: 3.953 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/1.375, allocations: 4 kB / 1.189 GB, free: 3.949 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/1.375, allocations: 4 kB / 1.189 GB, free: 3.945 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/1.375, allocations: 4.125 kB / 1.189 GB, free: 3.941 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003927/1.379, allocations: 1.346 MB / 1.19 GB, free: 2.52 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/1.379, allocations: 4.219 kB / 1.19 GB, free: 2.516 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007361/1.38, allocations: 71.92 kB / 1.19 GB, free: 2.445 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001205/1.381, allocations: 202.3 kB / 1.191 GB, free: 2.238 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.293e-05/1.381, allocations: 6.375 kB / 1.191 GB, free: 2.234 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007416/1.389, allocations: 4.664 MB / 1.195 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.137e-06/1.389, allocations: 7.094 kB / 1.195 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003149/1.392, allocations: 1.156 MB / 1.196 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005552/1.393, allocations: 164.6 kB / 1.197 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001699/1.393, allocations: 4 kB / 1.197 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000927/1.394, allocations: 19.97 kB / 1.197 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/1.394, allocations: 43.84 kB / 1.197 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.403e-05/1.394, allocations: 8 kB / 1.197 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0004439/1.394, allocations: 259 kB / 1.197 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.91e-07/1.394, allocations: 3.938 kB / 1.197 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0009849/1.395, allocations: 159.9 kB / 1.197 GB, free: 11.32 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003609/1.399, allocations: 2.186 MB / 1.199 GB, free: 9.043 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.002472/1.401, allocations: 0.9314 MB / 1.2 GB, free: 8.082 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.402, allocations: 0 / 1.2 GB, free: 8.082 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001535/1.403, allocations: 0.6317 MB / 1.201 GB, free: 7.422 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/1.404, allocations: 139.8 kB / 1.201 GB, free: 7.293 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003566/1.408, allocations: 1.074 MB / 1.202 GB, free: 6.16 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/1.409, allocations: 0.957 MB / 1.203 GB, free: 5.176 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0007384/1.41, allocations: 106.7 kB / 1.203 GB, free: 5.074 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004604/1.411, allocations: 207.4 kB / 1.203 GB, free: 4.871 MB / 0.8073 GB Notification: Performance of SimCode: time 1.403e-06/1.411, allocations: 0 / 1.203 GB, free: 4.871 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07107/1.482, allocations: 11.89 MB / 1.215 GB, free: 9.23 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000348/1.482, allocations: 160.5 kB / 1.215 GB, free: 9.031 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.896/4.378, allocations: 0 / 1.215 GB, free: 9.031 MB / 0.823 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)