Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.001195/0.001195, allocations: 105.4 kB / 15.7 MB, free: 28 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.001505/0.001505, allocations: 186.3 kB / 16.64 MB, free: 6.594 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.515/1.515, 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.791/1.791, 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.001579/0.001579, allocations: 69.95 kB / 0.6718 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2834, allocations: 114.6 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008295/0.2917, allocations: 6.765 MB / 0.7902 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00533/0.2971, allocations: 3.099 MB / 0.7933 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006496/0.2978, allocations: 27.81 kB / 0.7933 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002457/0.3003, allocations: 0.9368 MB / 0.7942 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001378/0.3017, allocations: 0.505 MB / 0.7947 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.3028, allocations: 455 kB / 0.7951 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001466/0.3043, allocations: 1.228 MB / 0.7963 GB, free: 212 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001079/0.3054, allocations: 0.6586 MB / 0.797 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008832/0.3063, allocations: 478.2 kB / 0.7974 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007717/0.3071, allocations: 0.5137 MB / 0.7979 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.3072, allocations: 64 kB / 0.798 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008992/0.3081, allocations: 383.2 kB / 0.7984 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003352/0.3084, allocations: 315.1 kB / 0.7987 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004626/0.3089, allocations: 453.7 kB / 0.7991 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.3102, allocations: 1.219 MB / 0.8003 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3102, allocations: 0 / 0.8003 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3102, allocations: 0 / 0.8003 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.3102, allocations: 0 / 0.8003 GB, free: 12.14 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00202/0.3122, allocations: 1.168 MB / 0.8014 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/0.3123, allocations: 8.031 kB / 0.8014 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001606/0.3125, allocations: 126.7 kB / 0.8016 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001563/0.314, allocations: 231.6 kB / 0.8018 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000934/0.315, allocations: 0.6115 MB / 0.8024 GB, free: 9.902 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.939e-05/0.315, allocations: 45.67 kB / 0.8024 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.821e-05/0.3151, allocations: 60.38 kB / 0.8025 GB, free: 9.801 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.3166, allocations: 1.085 MB / 0.8035 GB, free: 8.613 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.455e-05/0.3166, allocations: 7.938 kB / 0.8035 GB, free: 8.605 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.414e-05/0.3167, allocations: 27.98 kB / 0.8036 GB, free: 8.578 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001491/0.3169, allocations: 93.23 kB / 0.8037 GB, free: 8.484 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.318, allocations: 0.7504 MB / 0.8044 GB, free: 7.73 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005629/0.3237, allocations: 5.882 MB / 0.8101 GB, free: 1.422 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009886/0.3247, allocations: 0.5621 MB / 0.8107 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004272/0.3251, allocations: 328.8 kB / 0.811 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.753e-05/0.3252, allocations: 4.438 kB / 0.811 GB, free: 0.5234 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.3252, allocations: 39 kB / 0.811 GB, free: 488 kB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 2.305e-06/0.3252, allocations: 4 kB / 0.811 GB, free: 484 kB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.003862/0.3291, allocations: 1.982 MB / 0.813 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.3291, allocations: 55.84 kB / 0.813 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000628/0.3298, allocations: 0.5626 MB / 0.8136 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.057e-05/0.3298, allocations: 33.7 kB / 0.8136 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000272/0.3301, allocations: 422.9 kB / 0.814 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.3302, allocations: 165.6 kB / 0.8142 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/0.3304, allocations: 130.5 kB / 0.8143 GB, free: 13 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.3306, allocations: 378.7 kB / 0.8147 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003964/0.331, allocations: 273.8 kB / 0.8149 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005509/0.3316, allocations: 0.4892 MB / 0.8154 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009961/0.3326, allocations: 0.8094 MB / 0.8162 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3326, allocations: 3.938 kB / 0.8162 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001794/0.3344, allocations: 1.091 MB / 0.8173 GB, free: 9.75 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.3344, allocations: 11.98 kB / 0.8173 GB, free: 9.738 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.3345, allocations: 8 kB / 0.8173 GB, free: 9.73 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008201/0.3353, allocations: 279.3 kB / 0.8176 GB, free: 9.445 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004532/0.3358, allocations: 123.8 kB / 0.8177 GB, free: 9.324 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006367/0.3421, allocations: 7.145 MB / 0.8246 GB, free: 1.613 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005818/0.3427, allocations: 39.97 kB / 0.8247 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-05/0.3428, allocations: 27.98 kB / 0.8247 GB, free: 1.547 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (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.0003635/0.3432, allocations: 257.6 kB / 0.825 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.3433, allocations: 71.16 kB / 0.825 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00147/0.3448, allocations: 0.8847 MB / 0.8259 GB, free: 316 kB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.3448, allocations: 4 kB / 0.8259 GB, free: 312 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.3448, allocations: 4 kB / 0.8259 GB, free: 308 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3448, allocations: 4 kB / 0.8259 GB, free: 304 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002441/0.3472, allocations: 1.732 MB / 0.8276 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.3473, allocations: 3.938 kB / 0.8276 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/0.3475, allocations: 59.89 kB / 0.8277 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007238/0.3483, allocations: 267.4 kB / 0.8279 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-05/0.3483, allocations: 11.98 kB / 0.8279 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006269/0.3546, allocations: 7.123 MB / 0.8349 GB, free: 6.441 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.3546, allocations: 4.031 kB / 0.8349 GB, free: 6.438 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.3562, allocations: 0.9915 MB / 0.8358 GB, free: 5.402 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002877/0.3565, allocations: 192.2 kB / 0.836 GB, free: 5.195 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.009e-05/0.3566, allocations: 15.94 kB / 0.836 GB, free: 5.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003715/0.357, allocations: 27.97 kB / 0.8361 GB, free: 5.152 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.3571, allocations: 43.88 kB / 0.8361 GB, free: 5.109 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.272e-05/0.3572, allocations: 16 kB / 0.8361 GB, free: 5.094 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000426/0.3576, allocations: 387.1 kB / 0.8365 GB, free: 4.719 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3576, allocations: 0 / 0.8365 GB, free: 4.719 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007677/0.3584, allocations: 224 kB / 0.8367 GB, free: 4.5 MB / 0.6544 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 (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001762/0.3602, allocations: 1.552 MB / 0.8382 GB, free: 2.887 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001984/0.3621, allocations: 1.275 MB / 0.8395 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.3622, allocations: 0 / 0.8395 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001194/0.3634, allocations: 0.8855 MB / 0.8403 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.3644, allocations: 210.8 kB / 0.8405 GB, free: 428 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008153/0.3726, allocations: 6.405 MB / 0.8468 GB, free: 9.68 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005922/0.3732, allocations: 1.012 MB / 0.8478 GB, free: 8.641 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004153/0.3736, allocations: 118 kB / 0.8479 GB, free: 8.523 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003104/0.3739, allocations: 255.4 kB / 0.8481 GB, free: 8.273 MB / 0.67 GB Notification: Performance of SimCode: time 5.41e-07/0.3739, allocations: 0 / 0.8481 GB, free: 8.273 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04563/0.4196, allocations: 17.29 MB / 0.865 GB, free: 7.312 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.864/10.28, allocations: 0 / 0.865 GB, free: 7.312 MB / 0.6856 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)