Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_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.001576/0.001576, allocations: 105.4 kB / 15.7 MB, free: 24 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.001861/0.001861, allocations: 196.8 kB / 16.64 MB, free: 6.453 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.425/1.425, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.633/1.633, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001417/0.001417, allocations: 75.34 kB / 0.6718 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2138, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007728/0.2216, allocations: 5.528 MB / 0.789 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004439/0.2261, allocations: 2.655 MB / 0.7916 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004091/0.2265, allocations: 23.81 kB / 0.7917 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001758/0.2284, allocations: 0.6761 MB / 0.7923 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0008963/0.2293, allocations: 409.7 kB / 0.7927 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008871/0.2302, allocations: 403 kB / 0.7931 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008726/0.2311, allocations: 0.963 MB / 0.794 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005708/0.2316, allocations: 466.8 kB / 0.7945 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004414/0.2321, allocations: 374.5 kB / 0.7948 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000486/0.2326, allocations: 406.4 kB / 0.7952 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.782e-05/0.2327, allocations: 48 kB / 0.7953 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006153/0.2333, allocations: 367.1 kB / 0.7956 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002195/0.2335, allocations: 251.4 kB / 0.7959 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002969/0.2338, allocations: 346.2 kB / 0.7962 GB, free: 348 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008934/0.2347, allocations: 0.9811 MB / 0.7971 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.2347, allocations: 4 kB / 0.7971 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.644e-06/0.2347, allocations: 0 / 0.7971 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.879e-06/0.2348, allocations: 0 / 0.7971 GB, free: 15.35 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.001429/0.2362, allocations: 0.9776 MB / 0.7981 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.2362, allocations: 8.031 kB / 0.7981 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.304e-05/0.2363, allocations: 98.7 kB / 0.7982 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/0.2376, allocations: 195.8 kB / 0.7984 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006965/0.2383, allocations: 0.5295 MB / 0.7989 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.2384, allocations: 37.38 kB / 0.7989 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.2385, allocations: 52.55 kB / 0.799 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009948/0.2395, allocations: 0.8277 MB / 0.7998 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.2395, allocations: 8 kB / 0.7998 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.003e-05/0.2396, allocations: 20 kB / 0.7998 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001662/0.2398, allocations: 60.95 kB / 0.7999 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007942/0.2406, allocations: 0.5813 MB / 0.8005 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003649/0.2442, allocations: 4.569 MB / 0.8049 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004113/0.2446, allocations: 295.3 kB / 0.8052 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002749/0.2449, allocations: 221.3 kB / 0.8054 GB, free: 6.352 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.25e-05/0.245, allocations: 8.281 kB / 0.8054 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.245, allocations: 42.78 kB / 0.8055 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 1.743e-06/0.245, allocations: 0 / 0.8055 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of matching and sorting (n=40): time 0.005026/0.25, allocations: 2.631 MB / 0.808 GB, free: 3.535 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.2501, allocations: 55.41 kB / 0.8081 GB, free: 3.469 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004146/0.2505, allocations: 466 kB / 0.8085 GB, free: 3 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.2506, allocations: 33.7 kB / 0.8086 GB, free: 2.961 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.2507, allocations: 347.6 kB / 0.8089 GB, free: 2.613 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.332e-05/0.2508, allocations: 141.9 kB / 0.809 GB, free: 2.473 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.251, allocations: 106.1 kB / 0.8091 GB, free: 2.363 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.2511, allocations: 362.8 kB / 0.8095 GB, free: 2 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003162/0.2514, allocations: 245 kB / 0.8097 GB, free: 1.762 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003991/0.2519, allocations: 413.2 kB / 0.8101 GB, free: 1.281 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007481/0.2526, allocations: 0.674 MB / 0.8108 GB, free: 0.5352 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2526, allocations: 0 / 0.8108 GB, free: 0.5352 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001466/0.2541, allocations: 0.9208 MB / 0.8117 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.2541, allocations: 8 kB / 0.8117 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.2541, allocations: 12.59 kB / 0.8117 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007061/0.2548, allocations: 218.4 kB / 0.8119 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004637/0.2553, allocations: 119.8 kB / 0.812 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004439/0.2598, allocations: 5.343 MB / 0.8172 GB, free: 9.473 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004471/0.2602, allocations: 31.97 kB / 0.8172 GB, free: 9.441 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.86e-05/0.2603, allocations: 20 kB / 0.8173 GB, free: 9.422 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.000272/0.2606, allocations: 225.9 kB / 0.8175 GB, free: 9.191 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.937e-05/0.2607, allocations: 59.28 kB / 0.8175 GB, free: 9.133 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.262, allocations: 0.7706 MB / 0.8183 GB, free: 8.348 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.262, allocations: 4 kB / 0.8183 GB, free: 8.344 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.262, allocations: 4 kB / 0.8183 GB, free: 8.34 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2621, allocations: 3.984 kB / 0.8183 GB, free: 8.336 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002156/0.2642, allocations: 1.506 MB / 0.8198 GB, free: 6.746 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2642, allocations: 0 / 0.8198 GB, free: 6.746 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003475/0.2646, allocations: 67.88 kB / 0.8198 GB, free: 6.68 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006126/0.2652, allocations: 202.6 kB / 0.82 GB, free: 6.473 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/0.2652, allocations: 12.19 kB / 0.82 GB, free: 6.461 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004242/0.2695, allocations: 5.278 MB / 0.8252 GB, free: 0.7539 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.2695, allocations: 4.031 kB / 0.8252 GB, free: 0.75 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.2711, allocations: 1.143 MB / 0.8263 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002092/0.2714, allocations: 176.4 kB / 0.8265 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.47e-05/0.2714, allocations: 8 kB / 0.8265 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003078/0.2717, allocations: 27.95 kB / 0.8265 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.196e-05/0.2718, allocations: 36.03 kB / 0.8266 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.581e-05/0.2719, allocations: 8.141 kB / 0.8266 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003188/0.2722, allocations: 318.9 kB / 0.8269 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2722, allocations: 0 / 0.8269 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006235/0.2728, allocations: 168 kB / 0.827 GB, free: 14.82 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.001858/0.2747, allocations: 1.699 MB / 0.8287 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00152/0.2762, allocations: 1.005 MB / 0.8297 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2762, allocations: 4 kB / 0.8297 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008846/0.2771, allocations: 0.6837 MB / 0.8303 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008237/0.278, allocations: 185 kB / 0.8305 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007068/0.285, allocations: 5.631 MB / 0.836 GB, free: 5.203 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005059/0.2856, allocations: 0.9494 MB / 0.8369 GB, free: 4.227 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003638/0.286, allocations: 109 kB / 0.837 GB, free: 4.121 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/0.2862, allocations: 211.4 kB / 0.8372 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of SimCode: time 1.062e-06/0.2862, allocations: 0 / 0.8372 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03463/0.3209, allocations: 14.05 MB / 0.851 GB, free: 6.16 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/10.91, allocations: 4.906 kB / 0.851 GB, free: 6.156 MB / 0.67 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)