Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.001379/0.001379, allocations: 109 kB / 20.48 MB, free: 1.473 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.001592/0.001592, allocations: 211.5 kB / 23.79 MB, free: 4.684 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.47/1.47, allocations: 230.6 MB / 257.6 MB, free: 8.02 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 0.9672/0.9672, allocations: 150 MB / 464 MB, free: 10.61 MB / 366.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_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.002119/0.002119, allocations: 71.36 kB / 0.6421 GB, free: 10.48 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1815, allocations: 89.17 MB / 0.7291 GB, free: 1.383 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.3846/0.5661, allocations: 34.25 MB / 0.7626 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01506/0.5812, allocations: 10.69 MB / 0.773 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003051/0.5842, allocations: 192.6 kB / 0.7732 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.009292/0.5935, allocations: 3.891 MB / 0.777 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005495/0.599, allocations: 1.951 MB / 0.7789 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005863/0.6049, allocations: 2.198 MB / 0.7811 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01055/0.6154, allocations: 7.325 MB / 0.7882 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01046/0.6259, allocations: 5.158 MB / 0.7932 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007066/0.6329, allocations: 3.272 MB / 0.7964 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006924/0.6399, allocations: 3.681 MB / 0.8 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002337/0.6422, allocations: 0.6457 MB / 0.8007 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006033/0.6482, allocations: 1.805 MB / 0.8024 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00503/0.6533, allocations: 2.606 MB / 0.805 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.008269/0.6615, allocations: 2.9 MB / 0.8078 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0181/0.6796, allocations: 10.14 MB / 0.8177 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.6796, allocations: 0 / 0.8177 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.655e-06/0.6796, allocations: 1.594 kB / 0.8177 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000418/0.6801, allocations: 0 / 0.8177 GB, free: 11.42 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01499/0.6951, allocations: 5.052 MB / 0.8226 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.6951, allocations: 8.281 kB / 0.8227 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001171/0.6952, allocations: 124.3 kB / 0.8228 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001636/0.6969, allocations: 0.6859 MB / 0.8234 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006694/0.7035, allocations: 0.9837 MB / 0.8244 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01004/0.7136, allocations: 2.992 MB / 0.8273 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005216/0.7141, allocations: 349.1 kB / 0.8277 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002827/0.7169, allocations: 461.6 kB / 0.8281 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02619/0.7431, allocations: 7.67 MB / 0.8356 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002623/0.7434, allocations: 31.81 kB / 0.8356 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001771/0.7452, allocations: 201.2 kB / 0.8358 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005871/0.7458, allocations: 309.5 kB / 0.8361 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0166/0.7624, allocations: 5.71 MB / 0.8417 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04517/0.8075, allocations: 34.58 MB / 0.8754 GB, free: 0.6016 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002837/0.8104, allocations: 1.568 MB / 0.877 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001712/0.8121, allocations: 1.121 MB / 0.8781 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.036e-05/0.8122, allocations: 17.31 kB / 0.8781 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.8122, allocations: 51.81 kB / 0.8781 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=133): time 3.236e-06/0.8122, allocations: 0 / 0.8781 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=136): time 0.01525/0.8274, allocations: 6.2 MB / 0.8842 GB, free: 7.602 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.633e-05/0.8275, allocations: 68.7 kB / 0.8843 GB, free: 7.523 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002311/0.8298, allocations: 1.48 MB / 0.8857 GB, free: 5.996 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002177/0.83, allocations: 45.7 kB / 0.8857 GB, free: 5.945 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001657/0.8317, allocations: 2.073 MB / 0.8878 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006587/0.8324, allocations: 0.4984 MB / 0.8883 GB, free: 3.367 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005945/0.833, allocations: 359.3 kB / 0.8886 GB, free: 3.012 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.8331, allocations: 301.1 kB / 0.8889 GB, free: 2.715 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001465/0.8346, allocations: 0.9135 MB / 0.8898 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002076/0.8367, allocations: 1.592 MB / 0.8913 GB, free: 15.9 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003977/0.8406, allocations: 2.74 MB / 0.894 GB, free: 12.86 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.276e-05/0.8407, allocations: 4 kB / 0.894 GB, free: 12.85 MB / 0.67 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006836/0.8475, allocations: 3.514 MB / 0.8974 GB, free: 9.293 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.781e-05/0.8475, allocations: 19.94 kB / 0.8975 GB, free: 9.273 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.943e-05/0.8476, allocations: 24 kB / 0.8975 GB, free: 9.25 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002764/0.8503, allocations: 0.9031 MB / 0.8984 GB, free: 8.312 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/0.8517, allocations: 347.4 kB / 0.8987 GB, free: 7.973 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02328/0.875, allocations: 21.88 MB / 0.9201 GB, free: 0.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/0.8767, allocations: 103.9 kB / 0.9202 GB, free: 0.6484 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001915/0.8769, allocations: 87.98 kB / 0.9203 GB, free: 0.5625 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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 prepare postOptimizeDAE: time 0.002909/0.8798, allocations: 1.618 MB / 0.9218 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004902/0.8803, allocations: 214.6 kB / 0.922 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005832/0.8861, allocations: 2.961 MB / 0.9249 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/0.8861, allocations: 12 kB / 0.9249 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.726e-05/0.8861, allocations: 12 kB / 0.925 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.611e-05/0.8861, allocations: 15.91 kB / 0.925 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0133/0.8994, allocations: 7.289 MB / 0.9321 GB, free: 4.195 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.8995, allocations: 8 kB / 0.9321 GB, free: 4.188 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008517/0.9003, allocations: 171.7 kB / 0.9323 GB, free: 4.02 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002591/0.9029, allocations: 0.832 MB / 0.9331 GB, free: 3.152 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001419/0.903, allocations: 28 kB / 0.9331 GB, free: 3.125 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02156/0.9246, allocations: 20.73 MB / 0.9533 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.029e-05/0.9246, allocations: 15.92 kB / 0.9534 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005906/0.9305, allocations: 3.007 MB / 0.9563 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001279/0.9318, allocations: 398.4 kB / 0.9567 GB, free: 9.496 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003247/0.9321, allocations: 28 kB / 0.9567 GB, free: 9.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000841/0.933, allocations: 67.91 kB / 0.9568 GB, free: 9.402 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003493/0.9333, allocations: 136.6 kB / 0.9569 GB, free: 9.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.125e-05/0.9334, allocations: 36 kB / 0.9569 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001419/0.9348, allocations: 0.9756 MB / 0.9579 GB, free: 8.234 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.9348, allocations: 0 / 0.9579 GB, free: 8.234 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002989/0.9378, allocations: 0.7891 MB / 0.9586 GB, free: 7.445 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(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%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005896/0.9437, allocations: 3.599 MB / 0.9622 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006414/0.9501, allocations: 3.921 MB / 0.966 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.9501, allocations: 0 / 0.966 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.004219/0.9543, allocations: 2.668 MB / 0.9686 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003374/0.9577, allocations: 0.7405 MB / 0.9693 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03833/0.996, allocations: 22.51 MB / 0.9913 GB, free: 4.633 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003982/1, allocations: 3.117 MB / 0.9943 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001427/1.001, allocations: 450 kB / 0.9948 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002256/1.004, allocations: 1.538 MB / 0.9963 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of SimCode: time 1.323e-06/1.004, allocations: 0 / 0.9963 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2025/1.206, allocations: 63.47 MB / 1.058 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.55/16.76, allocations: 10.8 kB / 1.058 GB, free: 0.6367 MB / 0.8262 GB " [Timeout remaining time 643] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.12395783298416] Failed to read output from testmodel.py, exit status != 0: 16.963463962019887 16.989336468 16.304470268 Calling exit ...