Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 192.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.318/1.318, allocations: 205.1 MB / 222.4 MB, free: 4.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.652/1.652, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 73.88 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1868, allocations: 114.5 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.00691/0.1938, allocations: 5.446 MB / 0.7888 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004106/0.1979, allocations: 2.643 MB / 0.7914 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004127/0.1983, allocations: 19.88 kB / 0.7914 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001769/0.2001, allocations: 0.6756 MB / 0.792 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0009422/0.2011, allocations: 405.7 kB / 0.7924 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009132/0.202, allocations: 399 kB / 0.7928 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001076/0.2031, allocations: 0.9436 MB / 0.7937 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006408/0.2037, allocations: 474.7 kB / 0.7942 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005151/0.2043, allocations: 366.6 kB / 0.7945 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005629/0.2048, allocations: 406.4 kB / 0.7949 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.2049, allocations: 48 kB / 0.795 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006546/0.2056, allocations: 363.2 kB / 0.7953 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000246/0.2059, allocations: 247.4 kB / 0.7956 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003772/0.2062, allocations: 354.1 kB / 0.7959 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.2073, allocations: 0.9617 MB / 0.7968 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2073, allocations: 3.938 kB / 0.7968 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2073, allocations: 0 / 0.7968 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.227e-05/0.2074, allocations: 0 / 0.7968 GB, free: 15.61 MB / 0.6231 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.001672/0.209, allocations: 0.9699 MB / 0.7978 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.2091, allocations: 12.03 kB / 0.7978 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001539/0.2093, allocations: 94.69 kB / 0.7979 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/0.2107, allocations: 203.8 kB / 0.7981 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000731/0.2114, allocations: 486.4 kB / 0.7985 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/0.2115, allocations: 37.36 kB / 0.7986 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.2116, allocations: 56.55 kB / 0.7986 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.2128, allocations: 0.8316 MB / 0.7994 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/0.2128, allocations: 4 kB / 0.7995 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.593e-05/0.2129, allocations: 20 kB / 0.7995 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001874/0.2131, allocations: 68.95 kB / 0.7995 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009036/0.214, allocations: 0.5735 MB / 0.8001 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004169/0.2182, allocations: 4.581 MB / 0.8046 GB, free: 7.16 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000466/0.2186, allocations: 298.3 kB / 0.8049 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002955/0.2189, allocations: 225.3 kB / 0.8051 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/0.219, allocations: 8.266 kB / 0.8051 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.219, allocations: 38.78 kB / 0.8051 GB, free: 6.586 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 2.986e-06/0.219, allocations: 4 kB / 0.8051 GB, free: 6.582 MB / 0.6231 GB Notification: Performance of matching and sorting (n=40): time 0.005479/0.2245, allocations: 2.619 MB / 0.8077 GB, free: 3.836 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.2246, allocations: 55.41 kB / 0.8077 GB, free: 3.77 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004813/0.2251, allocations: 465.9 kB / 0.8082 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.386e-05/0.2251, allocations: 33.7 kB / 0.8082 GB, free: 3.262 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002455/0.2254, allocations: 339.6 kB / 0.8085 GB, free: 2.922 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.2255, allocations: 145.9 kB / 0.8087 GB, free: 2.777 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.2256, allocations: 106.2 kB / 0.8088 GB, free: 2.668 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.2258, allocations: 362.8 kB / 0.8091 GB, free: 2.305 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003524/0.2261, allocations: 237 kB / 0.8093 GB, free: 2.074 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004596/0.2266, allocations: 417.4 kB / 0.8097 GB, free: 1.59 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008179/0.2274, allocations: 0.674 MB / 0.8104 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2275, allocations: 0 / 0.8104 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001611/0.2291, allocations: 0.9246 MB / 0.8113 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.2291, allocations: 11.31 kB / 0.8113 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.2291, allocations: 8 kB / 0.8113 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007616/0.2299, allocations: 222.4 kB / 0.8115 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005005/0.2304, allocations: 111.8 kB / 0.8116 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004991/0.2354, allocations: 5.343 MB / 0.8169 GB, free: 9.789 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004733/0.2359, allocations: 27.97 kB / 0.8169 GB, free: 9.762 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-05/0.2359, allocations: 27.94 kB / 0.8169 GB, free: 9.734 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003272/0.2363, allocations: 229.9 kB / 0.8171 GB, free: 9.5 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.2364, allocations: 59.28 kB / 0.8172 GB, free: 9.441 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001411/0.2378, allocations: 0.7742 MB / 0.8179 GB, free: 8.652 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.2378, allocations: 4 kB / 0.8179 GB, free: 8.648 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.2379, allocations: 4 kB / 0.8179 GB, free: 8.645 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2379, allocations: 4 kB / 0.818 GB, free: 8.641 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002392/0.2403, allocations: 1.491 MB / 0.8194 GB, free: 7.062 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2403, allocations: 0 / 0.8194 GB, free: 7.062 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003719/0.2407, allocations: 75.88 kB / 0.8195 GB, free: 6.988 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006489/0.2413, allocations: 206.8 kB / 0.8197 GB, free: 6.777 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.293e-05/0.2414, allocations: 12 kB / 0.8197 GB, free: 6.766 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004516/0.2459, allocations: 5.282 MB / 0.8248 GB, free: 1.055 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.2459, allocations: 8.094 kB / 0.8249 GB, free: 1.047 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/0.2476, allocations: 1.139 MB / 0.826 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002149/0.2478, allocations: 172.4 kB / 0.8261 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.984e-05/0.2479, allocations: 15.98 kB / 0.8261 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003265/0.2482, allocations: 28.03 kB / 0.8262 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.785e-05/0.2483, allocations: 27.97 kB / 0.8262 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.877e-05/0.2483, allocations: 15.98 kB / 0.8262 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003103/0.2486, allocations: 310.9 kB / 0.8265 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2487, allocations: 0 / 0.8265 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006281/0.2493, allocations: 168 kB / 0.8267 GB, free: 15.12 MB / 0.6544 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001927/0.2512, allocations: 1.688 MB / 0.8283 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001599/0.2528, allocations: 1.056 MB / 0.8293 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.2528, allocations: 0 / 0.8293 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009142/0.2538, allocations: 0.6836 MB / 0.83 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008599/0.2546, allocations: 178.9 kB / 0.8302 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007239/0.2619, allocations: 5.68 MB / 0.8357 GB, free: 5.426 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004747/0.2624, allocations: 0.9493 MB / 0.8367 GB, free: 4.449 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003705/0.2628, allocations: 121 kB / 0.8368 GB, free: 4.332 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002431/0.263, allocations: 207.4 kB / 0.837 GB, free: 4.129 MB / 0.6544 GB Notification: Performance of SimCode: time 3.31e-07/0.263, allocations: 0 / 0.837 GB, free: 4.129 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5763/0.8393, allocations: 13.91 MB / 0.8506 GB, free: 6.441 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.15/10.99, allocations: 12.64 kB / 0.8506 GB, free: 6.43 MB / 0.67 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)