Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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_L,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.643/1.643, allocations: 289.9 MB / 297.4 MB, free: 6.344 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.001081/0.001081, allocations: 176.8 kB / 366.7 MB, free: 1.645 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.634/1.634, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.0008061/0.000806, allocations: 91.75 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.039e-05/2.04e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.634/0.634, allocations: 116.3 MB / 0.9734 GB, free: 76.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2105/0.8446, allocations: 161.5 MB / 1.131 GB, free: 4.52 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/0.8449, allocations: 95.92 kB / 1.131 GB, free: 4.426 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.1308/0.9757, allocations: 36.63 MB / 1.167 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9758, allocations: 4 kB / 1.167 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.063e-05/0.9758, allocations: 20 kB / 1.167 GB, free: 15.53 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001602/0.9774, allocations: 0.8644 MB / 1.168 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.9775, allocations: 12.03 kB / 1.168 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001538/0.979, allocations: 222.8 kB / 1.168 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009709/0.98, allocations: 0.5324 MB / 1.169 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.9801, allocations: 20 kB / 1.169 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.9802, allocations: 40 kB / 1.169 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008899/0.9811, allocations: 0.546 MB / 1.169 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/0.9825, allocations: 0.9805 MB / 1.17 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.29e-05/0.9826, allocations: 19.83 kB / 1.17 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.063e-05/0.9826, allocations: 4 kB / 1.17 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.779e-05/0.9827, allocations: 57.28 kB / 1.17 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00523/0.9879, allocations: 5.623 MB / 1.176 GB, free: 5.965 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008397/0.9888, allocations: 0.5748 MB / 1.176 GB, free: 5.344 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007616/0.9896, allocations: 388.6 kB / 1.177 GB, free: 4.961 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.9897, allocations: 4 kB / 1.177 GB, free: 4.957 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.9897, allocations: 38.16 kB / 1.177 GB, free: 4.914 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=41): time 3.046e-06/0.9897, allocations: 0 / 1.177 GB, free: 4.914 MB / 0.7761 GB Notification: Performance of matching and sorting (n=42): time 0.002332/0.992, allocations: 1.158 MB / 1.178 GB, free: 3.734 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.9921, allocations: 59.41 kB / 1.178 GB, free: 3.664 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003929/0.9925, allocations: 325.1 kB / 1.178 GB, free: 3.344 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/0.9925, allocations: 25.7 kB / 1.178 GB, free: 3.312 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000284/0.9928, allocations: 379 kB / 1.179 GB, free: 2.934 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.993, allocations: 145.8 kB / 1.179 GB, free: 2.789 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.392e-05/0.993, allocations: 4 kB / 1.179 GB, free: 2.785 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002165/0.9932, allocations: 358.8 kB / 1.179 GB, free: 2.426 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000318/0.9935, allocations: 225 kB / 1.179 GB, free: 2.207 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004859/0.994, allocations: 404.4 kB / 1.18 GB, free: 1.727 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004161/0.9945, allocations: 292.4 kB / 1.18 GB, free: 1.441 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.9945, allocations: 7.938 kB / 1.18 GB, free: 1.434 MB / 0.7761 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001727/0.9962, allocations: 0.9295 MB / 1.181 GB, free: 496 kB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.9962, allocations: 8 kB / 1.181 GB, free: 488 kB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.9963, allocations: 8 kB / 1.181 GB, free: 480 kB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/0.9973, allocations: 307.4 kB / 1.181 GB, free: 160 kB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003087/0.9977, allocations: 95.81 kB / 1.181 GB, free: 64 kB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007228/1.005, allocations: 6.829 MB / 1.188 GB, free: 8.754 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004773/1.005, allocations: 20.03 kB / 1.188 GB, free: 8.734 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.266e-05/1.005, allocations: 28 kB / 1.188 GB, free: 8.707 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 (49): * Single equations (assignments): 45 * 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%) 8,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001554/1.006, allocations: 121.1 kB / 1.188 GB, free: 8.582 MB / 0.7917 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001481/1.007, allocations: 0.8076 MB / 1.189 GB, free: 7.754 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.828e-05/1.007, allocations: 53.83 kB / 1.189 GB, free: 7.703 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001621/1.009, allocations: 0.8412 MB / 1.19 GB, free: 6.844 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/1.009, allocations: 7.953 kB / 1.19 GB, free: 6.836 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.009, allocations: 4 kB / 1.19 GB, free: 6.832 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/1.009, allocations: 0 / 1.19 GB, free: 6.832 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002912/1.012, allocations: 1.72 MB / 1.191 GB, free: 5.012 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/1.012, allocations: 4.188 kB / 1.191 GB, free: 5.008 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/1.012, allocations: 43.91 kB / 1.191 GB, free: 4.965 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000856/1.013, allocations: 271.2 kB / 1.192 GB, free: 4.688 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.748e-05/1.013, allocations: 4 kB / 1.192 GB, free: 4.684 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008495/1.021, allocations: 6.561 MB / 1.198 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.776e-06/1.022, allocations: 0 / 1.198 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002325/1.024, allocations: 0.9665 MB / 1.199 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003587/1.024, allocations: 164.5 kB / 1.199 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.839e-05/1.024, allocations: 4 kB / 1.199 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003752/1.025, allocations: 11.98 kB / 1.199 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/1.025, allocations: 47.88 kB / 1.199 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-05/1.025, allocations: 16 kB / 1.199 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0004292/1.025, allocations: 239 kB / 1.2 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.21e-07/1.025, allocations: 0 / 1.2 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001329/1.027, allocations: 176 kB / 1.2 GB, free: 11.93 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 (25): * Single equations (assignments): 21 * 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 {(1,100.0%) 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.002794/1.03, allocations: 1.933 MB / 1.202 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.00228/1.032, allocations: 1.086 MB / 1.203 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.032, allocations: 0 / 1.203 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001564/1.033, allocations: 0.7724 MB / 1.203 GB, free: 7.98 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/1.035, allocations: 160 kB / 1.204 GB, free: 7.828 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00295/1.038, allocations: 1.014 MB / 1.205 GB, free: 6.758 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008456/1.039, allocations: 1.004 MB / 1.206 GB, free: 5.727 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0004375/1.039, allocations: 88.47 kB / 1.206 GB, free: 5.645 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003431/1.039, allocations: 227.4 kB / 1.206 GB, free: 5.422 MB / 0.8073 GB Notification: Performance of SimCode: time 9.32e-07/1.039, allocations: 0 / 1.206 GB, free: 5.422 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03598/1.075, allocations: 12.79 MB / 1.218 GB, free: 8.82 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/1.076, allocations: 154.1 kB / 1.218 GB, free: 8.621 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.338/3.413, allocations: 0 / 1.218 GB, free: 8.621 MB / 0.823 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)