Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.001941/0.001941, allocations: 114.9 kB / 17.84 MB, free: 5.312 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.002358/0.002358, allocations: 201.6 kB / 20.8 MB, free: 2.371 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.531/1.531, allocations: 230.6 MB / 254.2 MB, free: 15.05 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.9999/0.9999, allocations: 150 MB / 460.2 MB, free: 5.609 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_L_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",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: 70.33 kB / 0.6368 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1547, allocations: 89.13 MB / 0.7239 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04278/0.1975, allocations: 35.45 MB / 0.7585 GB, free: 456 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01969/0.2171, allocations: 11.67 MB / 0.7699 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003168/0.2203, allocations: 210.4 kB / 0.7701 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01128/0.2316, allocations: 4.317 MB / 0.7743 GB, free: 212 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006903/0.2385, allocations: 2.092 MB / 0.7763 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007296/0.2458, allocations: 2.409 MB / 0.7787 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01342/0.2592, allocations: 8.456 MB / 0.7869 GB, free: 3.215 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01575/0.275, allocations: 8.42 MB / 0.7952 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006376/0.2813, allocations: 3.841 MB / 0.7989 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007502/0.2888, allocations: 4.432 MB / 0.8033 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002521/0.2914, allocations: 0.7773 MB / 0.804 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006042/0.2974, allocations: 2.063 MB / 0.806 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.006097/0.3035, allocations: 3.133 MB / 0.8091 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.008012/0.3115, allocations: 3.4 MB / 0.8124 GB, free: 8.984 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01617/0.3277, allocations: 12.01 MB / 0.8241 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3277, allocations: 0 / 0.8241 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3277, allocations: 0 / 0.8241 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.000317/0.328, allocations: 7.938 kB / 0.8241 GB, free: 12.93 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01523/0.3432, allocations: 5.95 MB / 0.83 GB, free: 6.898 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.3433, allocations: 12.03 kB / 0.83 GB, free: 6.887 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001548/0.3434, allocations: 147.3 kB / 0.8301 GB, free: 6.742 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002174/0.3456, allocations: 0.8051 MB / 0.8309 GB, free: 5.926 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007625/0.3532, allocations: 1.082 MB / 0.8319 GB, free: 4.84 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007652/0.3609, allocations: 3.467 MB / 0.8353 GB, free: 1.316 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000438/0.3613, allocations: 423.5 kB / 0.8357 GB, free: 0.9023 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001921/0.3632, allocations: 0.5315 MB / 0.8363 GB, free: 380 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01969/0.3829, allocations: 9.079 MB / 0.8451 GB, free: 6.973 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001877/0.3831, allocations: 31.78 kB / 0.8452 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007762/0.3839, allocations: 236 kB / 0.8454 GB, free: 6.711 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003878/0.3843, allocations: 350.8 kB / 0.8457 GB, free: 6.367 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0163/0.4006, allocations: 6.834 MB / 0.8524 GB, free: 15.52 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4287/0.8292, allocations: 39.85 MB / 0.8913 GB, free: 101.7 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003591/0.8328, allocations: 2.904 MB / 0.8941 GB, free: 100.1 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00298/0.8358, allocations: 1.792 MB / 0.8959 GB, free: 99.43 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001206/0.8359, allocations: 18.78 kB / 0.8959 GB, free: 99.43 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.836, allocations: 59.56 kB / 0.896 GB, free: 99.36 MB / 0.67 GB Notification: Performance of pre-optimization done (n=179): time 3.356e-06/0.836, allocations: 0 / 0.896 GB, free: 99.36 MB / 0.67 GB Notification: Performance of matching and sorting (n=182): time 0.02247/0.8584, allocations: 9.991 MB / 0.9057 GB, free: 94.73 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.8585, allocations: 69.09 kB / 0.9058 GB, free: 94.67 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/0.86, allocations: 1.528 MB / 0.9073 GB, free: 93.82 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001169/0.8601, allocations: 57.58 kB / 0.9073 GB, free: 93.76 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008202/0.8609, allocations: 2.329 MB / 0.9096 GB, free: 92.09 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003738/0.8613, allocations: 0.656 MB / 0.9102 GB, free: 91.61 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004803/0.8618, allocations: 409 kB / 0.9106 GB, free: 91.38 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 3.309e-05/0.8618, allocations: 309.1 kB / 0.9109 GB, free: 91.08 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/0.8632, allocations: 1.177 MB / 0.9121 GB, free: 90.46 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001459/0.8646, allocations: 1.88 MB / 0.9139 GB, free: 88.91 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002855/0.8675, allocations: 3.372 MB / 0.9172 GB, free: 86.55 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.8675, allocations: 7.25 kB / 0.9172 GB, free: 86.55 MB / 0.67 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005985/0.8735, allocations: 4.539 MB / 0.9217 GB, free: 84.11 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.8735, allocations: 15.5 kB / 0.9217 GB, free: 84.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.201e-05/0.8735, allocations: 23.06 kB / 0.9217 GB, free: 84.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00334/0.8769, allocations: 1.592 MB / 0.9232 GB, free: 83.44 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.878, allocations: 354.5 kB / 0.9236 GB, free: 83.35 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02196/0.8999, allocations: 18.59 MB / 0.9417 GB, free: 64.26 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002402/0.9023, allocations: 119.9 kB / 0.9418 GB, free: 64.14 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002913/0.9026, allocations: 96 kB / 0.9419 GB, free: 64.05 MB / 0.67 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 (177): * 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: 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003242/0.9059, allocations: 1.898 MB / 0.9438 GB, free: 62.14 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003999/0.9063, allocations: 236 kB / 0.944 GB, free: 61.91 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007726/0.914, allocations: 4.036 MB / 0.948 GB, free: 57.84 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/0.914, allocations: 20 kB / 0.948 GB, free: 57.82 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-05/0.914, allocations: 16 kB / 0.948 GB, free: 57.81 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.62e-05/0.9141, allocations: 12.06 kB / 0.948 GB, free: 57.8 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01847/0.9325, allocations: 9.424 MB / 0.9572 GB, free: 48.16 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.948e-05/0.9326, allocations: 7.938 kB / 0.9572 GB, free: 48.15 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/0.9337, allocations: 183.7 kB / 0.9574 GB, free: 47.97 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003382/0.937, allocations: 1.36 MB / 0.9587 GB, free: 46.61 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001304/0.9372, allocations: 32 kB / 0.9587 GB, free: 46.57 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01625/0.9534, allocations: 17.36 MB / 0.9757 GB, free: 28.66 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.9534, allocations: 8.5 kB / 0.9757 GB, free: 28.65 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005486/0.9589, allocations: 4.032 MB / 0.9796 GB, free: 24.52 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009453/0.9599, allocations: 0.5385 MB / 0.9802 GB, free: 23.96 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000255/0.9601, allocations: 39.89 kB / 0.9802 GB, free: 23.93 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009559/0.9611, allocations: 94.33 kB / 0.9803 GB, free: 23.84 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004158/0.9615, allocations: 165.7 kB / 0.9805 GB, free: 23.68 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.715e-05/0.9616, allocations: 48 kB / 0.9805 GB, free: 23.63 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001052/0.9626, allocations: 1.005 MB / 0.9815 GB, free: 22.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/0.9626, allocations: 0 / 0.9815 GB, free: 22.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00282/0.9655, allocations: 0.9844 MB / 0.9824 GB, free: 21.62 MB / 0.67 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005468/0.9709, allocations: 4.633 MB / 0.987 GB, free: 16.89 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005505/0.9764, allocations: 4.171 MB / 0.991 GB, free: 12.68 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.9764, allocations: 0 / 0.991 GB, free: 12.68 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003585/0.98, allocations: 2.569 MB / 0.9936 GB, free: 10.06 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003424/0.9835, allocations: 0.7881 MB / 0.9943 GB, free: 9.336 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04273/1.026, allocations: 26.89 MB / 1.021 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005437/1.032, allocations: 3.573 MB / 1.024 GB, free: 9.781 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001502/1.033, allocations: 471.9 kB / 1.025 GB, free: 9.316 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002434/1.036, allocations: 1.78 MB / 1.026 GB, free: 7.535 MB / 0.7012 GB Notification: Performance of SimCode: time 1.362e-06/1.036, allocations: 0 / 1.026 GB, free: 7.535 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1741/1.21, allocations: 74.46 MB / 1.099 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.2/16.41, allocations: 11.09 kB / 1.099 GB, free: 13.69 MB / 0.7794 GB " [Timeout remaining time 643] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.14566921000369] Failed to read output from testmodel.py, exit status != 0: 16.585896386997774 16.615660602 16.282212605 Calling exit ...