Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.963/1.963, allocations: 289.9 MB / 297.4 MB, free: 6.367 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.001197/0.001197, allocations: 188.8 kB / 366.7 MB, free: 1.648 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.566/1.566, allocations: 205.2 MB / 0.626 GB, free: 7.184 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.0008348/0.0008348, allocations: 88.58 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.497e-05/2.506e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6244/0.6244, allocations: 116.3 MB / 0.9734 GB, free: 76.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2048/0.8293, allocations: 160.3 MB / 1.13 GB, free: 5.766 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/0.8296, allocations: 99.86 kB / 1.13 GB, free: 5.668 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.09265/0.9223, allocations: 36.38 MB / 1.166 GB, free: 1.031 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9223, allocations: 0 / 1.166 GB, free: 1.031 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 7.203e-05/0.9224, allocations: 24 kB / 1.166 GB, free: 1.008 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002228/0.9246, allocations: 0.9609 MB / 1.166 GB, free: 0 / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.9247, allocations: 8.078 kB / 1.166 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/0.9265, allocations: 238.7 kB / 1.167 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.9276, allocations: 0.5336 MB / 1.167 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/0.9276, allocations: 20 kB / 1.167 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.9278, allocations: 43.94 kB / 1.167 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001158/0.9289, allocations: 0.5984 MB / 1.168 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.9304, allocations: 1.025 MB / 1.169 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.869e-05/0.9305, allocations: 0 / 1.169 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.21e-05/0.9305, allocations: 7.938 kB / 1.169 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.58e-05/0.9306, allocations: 57.28 kB / 1.169 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005721/0.9364, allocations: 5.751 MB / 1.175 GB, free: 7.121 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000913/0.9373, allocations: 0.5273 MB / 1.175 GB, free: 6.582 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004224/0.9377, allocations: 306.1 kB / 1.175 GB, free: 6.281 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.802e-05/0.9378, allocations: 8.438 kB / 1.175 GB, free: 6.273 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.9378, allocations: 35 kB / 1.175 GB, free: 6.23 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=47): time 2.214e-06/0.9378, allocations: 0.8438 kB / 1.175 GB, free: 6.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48): time 0.002134/0.94, allocations: 1.163 MB / 1.177 GB, free: 5.051 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.94, allocations: 59.8 kB / 1.177 GB, free: 4.98 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004556/0.9405, allocations: 402 kB / 1.177 GB, free: 4.578 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/0.9405, allocations: 25.7 kB / 1.177 GB, free: 4.547 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002897/0.9408, allocations: 410.9 kB / 1.177 GB, free: 4.141 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.941, allocations: 169.5 kB / 1.178 GB, free: 3.973 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/0.941, allocations: 0 / 1.178 GB, free: 3.973 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.9412, allocations: 362.8 kB / 1.178 GB, free: 3.609 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003857/0.9416, allocations: 255.1 kB / 1.178 GB, free: 3.359 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005245/0.9421, allocations: 438.5 kB / 1.179 GB, free: 2.852 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004553/0.9426, allocations: 322 kB / 1.179 GB, free: 2.535 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.9426, allocations: 0 / 1.179 GB, free: 2.535 MB / 0.7761 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001624/0.9442, allocations: 0.9695 MB / 1.18 GB, free: 1.547 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.9443, allocations: 4 kB / 1.18 GB, free: 1.543 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.9443, allocations: 8 kB / 1.18 GB, free: 1.535 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007925/0.9451, allocations: 265.1 kB / 1.18 GB, free: 1.266 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004637/0.9456, allocations: 119.8 kB / 1.18 GB, free: 1.148 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006079/0.9517, allocations: 6.336 MB / 1.186 GB, free: 10.36 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005903/0.9523, allocations: 23.97 kB / 1.186 GB, free: 10.33 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.68e-05/0.9523, allocations: 24 kB / 1.186 GB, free: 10.31 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * 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 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001665/0.9525, allocations: 122.4 kB / 1.187 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00133/0.9538, allocations: 0.7834 MB / 1.187 GB, free: 9.379 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.782e-05/0.954, allocations: 67.23 kB / 1.187 GB, free: 9.312 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/0.9554, allocations: 0.8252 MB / 1.188 GB, free: 8.465 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.9555, allocations: 11.56 kB / 1.188 GB, free: 8.457 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.9555, allocations: 0 / 1.188 GB, free: 8.457 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.9555, allocations: 7.984 kB / 1.188 GB, free: 8.449 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00258/0.9581, allocations: 1.562 MB / 1.19 GB, free: 6.812 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.9581, allocations: 6.312 kB / 1.19 GB, free: 6.809 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002759/0.9584, allocations: 59.95 kB / 1.19 GB, free: 6.75 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007146/0.9591, allocations: 263.3 kB / 1.19 GB, free: 6.48 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.9591, allocations: 4 kB / 1.19 GB, free: 6.477 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006035/0.9652, allocations: 6.316 MB / 1.196 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.9652, allocations: 0 / 1.196 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001501/0.9667, allocations: 0.9936 MB / 1.197 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002955/0.967, allocations: 184.3 kB / 1.197 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.256e-05/0.9671, allocations: 7.984 kB / 1.197 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003502/0.9675, allocations: 20.11 kB / 1.197 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.749e-05/0.9676, allocations: 39.92 kB / 1.197 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.9676, allocations: 16 kB / 1.197 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0003787/0.968, allocations: 303 kB / 1.198 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.81e-07/0.968, allocations: 3.938 kB / 1.198 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008831/0.9689, allocations: 196 kB / 1.198 GB, free: 13.86 MB / 0.8073 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001962/0.9709, allocations: 1.966 MB / 1.2 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001881/0.9728, allocations: 1.173 MB / 1.201 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.9728, allocations: 0 / 1.201 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.9739, allocations: 0.8387 MB / 1.202 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000854/0.9748, allocations: 172.2 kB / 1.202 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.9769, allocations: 1.097 MB / 1.203 GB, free: 8.41 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006529/0.9776, allocations: 1.024 MB / 1.204 GB, free: 7.359 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0004188/0.978, allocations: 109.3 kB / 1.204 GB, free: 7.25 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003235/0.9784, allocations: 251.4 kB / 1.204 GB, free: 7.004 MB / 0.8073 GB Notification: Performance of SimCode: time 8.72e-07/0.9784, allocations: 3.938 kB / 1.204 GB, free: 7 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0384/1.017, allocations: 14.51 MB / 1.219 GB, free: 8.707 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002383/1.017, allocations: 142.4 kB / 1.219 GB, free: 8.516 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.319/3.336, allocations: 0 / 1.219 GB, free: 8.516 MB / 0.823 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)