Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 118 kB / 17.84 MB, free: 5.234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 203.8 kB / 20.79 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.56/1.56, allocations: 230.6 MB / 254.2 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.008/1.008, allocations: 150 MB / 460.2 MB, free: 5.328 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 66.53 kB / 0.6368 GB, free: 30.4 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.168, allocations: 89.13 MB / 0.7239 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03504/0.203, allocations: 27.09 MB / 0.7503 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01521/0.2182, allocations: 8.196 MB / 0.7583 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002728/0.221, allocations: 154.8 kB / 0.7585 GB, free: 476 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.007864/0.2288, allocations: 2.811 MB / 0.7612 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005634/0.2345, allocations: 1.664 MB / 0.7628 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006198/0.2407, allocations: 1.671 MB / 0.7645 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009683/0.2503, allocations: 6.134 MB / 0.7705 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00951/0.2599, allocations: 5.318 MB / 0.7757 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004873/0.2647, allocations: 2.648 MB / 0.7782 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005343/0.2701, allocations: 3.002 MB / 0.7812 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001748/0.2718, allocations: 0.5078 MB / 0.7817 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003736/0.2756, allocations: 1.311 MB / 0.7829 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003381/0.2789, allocations: 2.108 MB / 0.785 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.005435/0.2844, allocations: 2.377 MB / 0.7873 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01252/0.2969, allocations: 8.076 MB / 0.7952 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.2969, allocations: 0 / 0.7952 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd: time 5.2e-06/0.2969, allocations: 7.938 kB / 0.7952 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002779/0.2972, allocations: 0 / 0.7952 GB, free: 10.63 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.0161/0.3133, allocations: 4.335 MB / 0.7995 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.473e-05/0.3134, allocations: 12.03 kB / 0.7995 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001607/0.3135, allocations: 99.48 kB / 0.7996 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001999/0.3155, allocations: 0.5382 MB / 0.8001 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005342/0.3209, allocations: 0.8179 MB / 0.8009 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005916/0.3268, allocations: 2.59 MB / 0.8034 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003108/0.3271, allocations: 275.6 kB / 0.8037 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001333/0.3284, allocations: 376.2 kB / 0.804 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01302/0.3414, allocations: 5.988 MB / 0.8099 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001457/0.3416, allocations: 15.89 kB / 0.8099 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009621/0.3425, allocations: 156 kB / 0.8101 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000778/0.3433, allocations: 286.9 kB / 0.8103 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009577/0.3529, allocations: 4.528 MB / 0.8147 GB, free: 6.238 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0408/0.3937, allocations: 27.49 MB / 0.8416 GB, free: 8.242 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001975/0.3957, allocations: 1.066 MB / 0.8426 GB, free: 7.168 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001566/0.3972, allocations: 0.9639 MB / 0.8436 GB, free: 6.207 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.3973, allocations: 9 kB / 0.8436 GB, free: 6.199 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.232e-05/0.3974, allocations: 51.55 kB / 0.8436 GB, free: 6.137 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=110): time 3.727e-06/0.3974, allocations: 0 / 0.8436 GB, free: 6.137 MB / 0.6544 GB Notification: Performance of matching and sorting (n=131): time 0.02474/0.4222, allocations: 9.703 MB / 0.8531 GB, free: 12.23 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/0.4222, allocations: 68.72 kB / 0.8532 GB, free: 12.15 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002893/0.4251, allocations: 1.498 MB / 0.8546 GB, free: 10.65 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001705/0.4253, allocations: 49.7 kB / 0.8547 GB, free: 10.6 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001517/0.4268, allocations: 1.715 MB / 0.8564 GB, free: 8.867 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005117/0.4273, allocations: 483.9 kB / 0.8568 GB, free: 8.391 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005843/0.4279, allocations: 335.4 kB / 0.8571 GB, free: 8.059 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.428, allocations: 309.1 kB / 0.8574 GB, free: 7.754 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001516/0.4295, allocations: 0.9135 MB / 0.8583 GB, free: 6.84 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002013/0.4316, allocations: 1.459 MB / 0.8598 GB, free: 5.141 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003719/0.4353, allocations: 2.55 MB / 0.8622 GB, free: 2.348 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.702e-05/0.4353, allocations: 8 kB / 0.8622 GB, free: 2.34 MB / 0.67 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.3363/0.7716, allocations: 3.269 MB / 0.8654 GB, free: 127.5 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.223e-05/0.7717, allocations: 15.88 kB / 0.8655 GB, free: 127.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-05/0.7717, allocations: 19.7 kB / 0.8655 GB, free: 127.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002352/0.774, allocations: 0.7418 MB / 0.8662 GB, free: 127.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/0.7757, allocations: 383.7 kB / 0.8666 GB, free: 127.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01312/0.7889, allocations: 17.05 MB / 0.8832 GB, free: 113.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/0.7907, allocations: 103.2 kB / 0.8833 GB, free: 113.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000187/0.7909, allocations: 78.25 kB / 0.8834 GB, free: 113.7 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,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.002833/0.7937, allocations: 1.306 MB / 0.8847 GB, free: 113.1 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006161/0.7943, allocations: 213.5 kB / 0.8849 GB, free: 113.1 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006081/0.8004, allocations: 2.773 MB / 0.8876 GB, free: 111.9 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.259e-05/0.8004, allocations: 13.19 kB / 0.8876 GB, free: 111.9 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.546e-05/0.8005, allocations: 6.469 kB / 0.8876 GB, free: 111.9 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.8005, allocations: 4.047 kB / 0.8876 GB, free: 111.9 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01054/0.811, allocations: 6.204 MB / 0.8937 GB, free: 109.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.811, allocations: 5.5 kB / 0.8937 GB, free: 109.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/0.8122, allocations: 230.1 kB / 0.8939 GB, free: 109.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001939/0.8141, allocations: 0.6735 MB / 0.8945 GB, free: 109.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001288/0.8143, allocations: 27.91 kB / 0.8946 GB, free: 109.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01214/0.8264, allocations: 16.79 MB / 0.911 GB, free: 94.25 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.8264, allocations: 5.344 kB / 0.911 GB, free: 94.25 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006524/0.8329, allocations: 3.996 MB / 0.9149 GB, free: 91.96 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/0.8341, allocations: 474.9 kB / 0.9153 GB, free: 91.67 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003204/0.8344, allocations: 27.81 kB / 0.9154 GB, free: 91.65 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.8354, allocations: 91.23 kB / 0.9154 GB, free: 91.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003707/0.8358, allocations: 112.1 kB / 0.9155 GB, free: 91.54 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.132e-05/0.8359, allocations: 39.53 kB / 0.9156 GB, free: 91.53 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001227/0.8371, allocations: 0.9935 MB / 0.9166 GB, free: 91 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/0.8371, allocations: 3.75 kB / 0.9166 GB, free: 91 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002523/0.8396, allocations: 0.6852 MB / 0.9172 GB, free: 90.94 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,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.005082/0.8447, allocations: 4.596 MB / 0.9217 GB, free: 87.32 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004434/0.8491, allocations: 3.376 MB / 0.925 GB, free: 83.84 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/0.8491, allocations: 8 kB / 0.925 GB, free: 83.83 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002542/0.8517, allocations: 2.239 MB / 0.9272 GB, free: 81.48 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002711/0.8544, allocations: 0.6752 MB / 0.9279 GB, free: 80.85 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02546/0.8799, allocations: 21.24 MB / 0.9486 GB, free: 58.79 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002076/0.8819, allocations: 2.671 MB / 0.9512 GB, free: 56.08 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001391/0.8833, allocations: 485.4 kB / 0.9517 GB, free: 55.61 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001167/0.8845, allocations: 1.28 MB / 0.9529 GB, free: 54.32 MB / 0.67 GB Notification: Performance of SimCode: time 1.112e-06/0.8845, allocations: 0 / 0.9529 GB, free: 54.32 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2097/1.094, allocations: 57.62 MB / 1.009 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.58/15.67, allocations: 14.62 kB / 1.009 GB, free: 13.32 MB / 0.6856 GB " [Timeout remaining time 644] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.415380649035797] Failed to read output from testmodel.py, exit status != 0: 15.843511489976663 15.860488146 15.560020327 Calling exit ...