Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.372/1.372, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001138/0.001138, allocations: 175.6 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.86/1.86, allocations: 205.4 MB / 0.5775 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009359/0.0009358, allocations: 94.36 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.0003689, allocations: 10.75 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1841, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.177/0.3611, allocations: 155 MB / 1.052 GB, free: 4.617 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.3614, allocations: 95.94 kB / 1.052 GB, free: 4.523 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4891/0.8505, allocations: 37.01 MB / 1.088 GB, free: 144.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.544e-06/0.8506, allocations: 0 / 1.088 GB, free: 144.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.619e-05/0.8506, allocations: 16.78 kB / 1.088 GB, free: 144.9 MB / 0.698 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.002042/0.8527, allocations: 0.939 MB / 1.089 GB, free: 144.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.8527, allocations: 7.906 kB / 1.089 GB, free: 144.2 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002485/0.853, allocations: 121.6 kB / 1.089 GB, free: 144.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001628/0.8546, allocations: 218.6 kB / 1.089 GB, free: 144 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.8557, allocations: 0.5329 MB / 1.09 GB, free: 143.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.34e-05/0.8558, allocations: 48.61 kB / 1.09 GB, free: 143.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.8559, allocations: 66.64 kB / 1.09 GB, free: 143.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.8572, allocations: 1.091 MB / 1.091 GB, free: 142.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.233e-05/0.8573, allocations: 7.938 kB / 1.091 GB, free: 142.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.176e-05/0.8574, allocations: 31.98 kB / 1.091 GB, free: 142.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.898e-05/0.8574, allocations: 57.22 kB / 1.091 GB, free: 142.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008935/0.8583, allocations: 0.6879 MB / 1.091 GB, free: 141.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003928/0.8623, allocations: 5.776 MB / 1.097 GB, free: 135.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006816/0.863, allocations: 0.5981 MB / 1.098 GB, free: 134.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.863, allocations: 4 kB / 1.098 GB, free: 134.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.863, allocations: 42.56 kB / 1.098 GB, free: 134.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=41): time 2.124e-06/0.8631, allocations: 0 / 1.098 GB, free: 134.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=42): time 0.003457/0.8665, allocations: 1.89 MB / 1.1 GB, free: 132.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.8666, allocations: 59.41 kB / 1.1 GB, free: 132.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003838/0.8669, allocations: 393.9 kB / 1.1 GB, free: 132.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.867, allocations: 33.7 kB / 1.1 GB, free: 132.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.8672, allocations: 379.3 kB / 1.1 GB, free: 132 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.398e-05/0.8672, allocations: 157.7 kB / 1.101 GB, free: 131.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-05/0.8673, allocations: 12 kB / 1.101 GB, free: 131.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.736e-05/0.8674, allocations: 362.8 kB / 1.101 GB, free: 131.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002668/0.8677, allocations: 225 kB / 1.101 GB, free: 131.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003298/0.868, allocations: 417.4 kB / 1.102 GB, free: 130.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000343/0.8683, allocations: 300.5 kB / 1.102 GB, free: 130.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.8684, allocations: 0 / 1.102 GB, free: 130.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001435/0.8698, allocations: 0.9491 MB / 1.103 GB, free: 129.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.8698, allocations: 15.92 kB / 1.103 GB, free: 129.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.8698, allocations: 4 kB / 1.103 GB, free: 129.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008258/0.8707, allocations: 267.2 kB / 1.103 GB, free: 129.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003111/0.871, allocations: 91.83 kB / 1.103 GB, free: 129.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004618/0.8756, allocations: 6.747 MB / 1.11 GB, free: 121.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004014/0.876, allocations: 31.97 kB / 1.11 GB, free: 121.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.593e-05/0.8761, allocations: 32.47 kB / 1.11 GB, free: 121.7 MB / 0.698 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 47 * 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,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003534/0.8765, allocations: 238 kB / 1.11 GB, free: 121.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.359e-05/0.8765, allocations: 55.34 kB / 1.11 GB, free: 121.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/0.8778, allocations: 0.8379 MB / 1.111 GB, free: 120.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.8779, allocations: 8 kB / 1.111 GB, free: 120.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.8779, allocations: 3.938 kB / 1.111 GB, free: 120.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.8779, allocations: 7.984 kB / 1.111 GB, free: 120.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002301/0.8802, allocations: 1.726 MB / 1.113 GB, free: 118.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.8802, allocations: 4 kB / 1.113 GB, free: 118.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/0.8804, allocations: 51.89 kB / 1.113 GB, free: 118.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007106/0.8812, allocations: 243.4 kB / 1.113 GB, free: 118.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/0.8812, allocations: 15.94 kB / 1.113 GB, free: 118.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004162/0.8854, allocations: 6.464 MB / 1.119 GB, free: 111.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.8854, allocations: 0 / 1.119 GB, free: 111.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/0.8867, allocations: 0.9744 MB / 1.12 GB, free: 110.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002764/0.887, allocations: 176.4 kB / 1.12 GB, free: 110.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.801e-05/0.887, allocations: 8 kB / 1.12 GB, free: 110.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002559/0.8873, allocations: 15.98 kB / 1.12 GB, free: 110.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.1e-05/0.8874, allocations: 43.88 kB / 1.12 GB, free: 110.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/0.8874, allocations: 19.95 kB / 1.12 GB, free: 110.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003157/0.8877, allocations: 298.9 kB / 1.121 GB, free: 109.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8878, allocations: 4 kB / 1.121 GB, free: 109.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000831/0.8886, allocations: 192 kB / 1.121 GB, free: 109.6 MB / 0.698 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 (27): * Single equations (assignments): 23 * 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,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001704/0.8903, allocations: 1.933 MB / 1.123 GB, free: 107.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001682/0.892, allocations: 1.133 MB / 1.124 GB, free: 106.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.892, allocations: 0 / 1.124 GB, free: 106.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008724/0.8929, allocations: 0.7996 MB / 1.125 GB, free: 105.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008443/0.8938, allocations: 178.1 kB / 1.125 GB, free: 105.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00573/0.8995, allocations: 7.752 MB / 1.132 GB, free: 97.41 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.8999, allocations: 0.9964 MB / 1.133 GB, free: 96.39 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003407/0.9003, allocations: 105.3 kB / 1.133 GB, free: 96.29 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/0.9005, allocations: 227.4 kB / 1.134 GB, free: 96.06 MB / 0.698 GB Notification: Performance of SimCode: time 7.62e-07/0.9005, allocations: 3.938 kB / 1.134 GB, free: 96.06 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02632/0.9268, allocations: 13.97 MB / 1.147 GB, free: 82.34 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001579/0.927, allocations: 223.2 kB / 1.148 GB, free: 82.09 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.37/3.297, allocations: 0 / 1.148 GB, free: 82.09 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)