Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.002067/0.002067, 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.00264/0.00264, 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.609/1.609, allocations: 230.6 MB / 254.2 MB, free: 15.07 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.066/1.066, allocations: 149.9 MB / 460.2 MB, free: 5.219 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.ACLineMatrix_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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.002071/0.002071, allocations: 65.31 kB / 0.6368 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1594, allocations: 89.13 MB / 0.7239 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.0298/0.1892, allocations: 23.78 MB / 0.7471 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01318/0.2024, allocations: 6.582 MB / 0.7535 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002076/0.2045, allocations: 123.1 kB / 0.7536 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00411/0.2086, allocations: 1.53 MB / 0.7551 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004577/0.2132, allocations: 1.941 MB / 0.757 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003997/0.2172, allocations: 1.455 MB / 0.7584 GB, free: 472 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.009902/0.2271, allocations: 6.9 MB / 0.7652 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009508/0.2366, allocations: 5.196 MB / 0.7702 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006015/0.2426, allocations: 2.913 MB / 0.7731 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007295/0.2499, allocations: 3.735 MB / 0.7767 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001848/0.2517, allocations: 0.5273 MB / 0.7773 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003887/0.2556, allocations: 1.198 MB / 0.7784 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00429/0.2599, allocations: 2.529 MB / 0.7809 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.005125/0.265, allocations: 2.536 MB / 0.7834 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01245/0.2775, allocations: 8.542 MB / 0.7917 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.2775, allocations: 0 / 0.7917 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.364e-06/0.2775, allocations: 0 / 0.7917 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003135/0.2778, allocations: 0 / 0.7917 GB, free: 14.21 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01191/0.2897, allocations: 4.553 MB / 0.7962 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.2898, allocations: 12.03 kB / 0.7962 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001283/0.2899, allocations: 103.5 kB / 0.7963 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001091/0.291, allocations: 0.5714 MB / 0.7968 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009221/0.3002, allocations: 1.695 MB / 0.7985 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006416/0.3066, allocations: 2.717 MB / 0.8011 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002778/0.3069, allocations: 279.7 kB / 0.8014 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001347/0.3082, allocations: 356.3 kB / 0.8017 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01622/0.3245, allocations: 7.49 MB / 0.8091 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001008/0.3246, allocations: 23.83 kB / 0.8091 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005287/0.3251, allocations: 155.9 kB / 0.8092 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006627/0.3258, allocations: 487.3 kB / 0.8097 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01169/0.3374, allocations: 5.693 MB / 0.8153 GB, free: 5.688 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04414/0.3816, allocations: 31.54 MB / 0.8461 GB, free: 3.383 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003041/0.3846, allocations: 2.02 MB / 0.848 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003128/0.3878, allocations: 2.112 MB / 0.8501 GB, free: 15.24 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001672/0.3879, allocations: 13.31 kB / 0.8501 GB, free: 15.22 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.767e-05/0.388, allocations: 55.81 kB / 0.8502 GB, free: 15.16 MB / 0.67 GB Notification: Performance of pre-optimization done (n=146): time 3.487e-06/0.388, allocations: 0 / 0.8502 GB, free: 15.16 MB / 0.67 GB Notification: Performance of matching and sorting (n=251): time 0.6914/1.079, allocations: 76.8 MB / 0.9252 GB, free: 88.96 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/1.079, allocations: 77.41 kB / 0.9252 GB, free: 88.88 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002238/1.082, allocations: 1.669 MB / 0.9269 GB, free: 87.18 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0005244/1.082, allocations: 61.7 kB / 0.9269 GB, free: 87.11 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007426/1.083, allocations: 1.804 MB / 0.9287 GB, free: 85.34 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007993/1.084, allocations: 0.8896 MB / 0.9295 GB, free: 84.46 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009238/1.085, allocations: 485.4 kB / 0.93 GB, free: 83.98 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 3.8e-05/1.085, allocations: 305.1 kB / 0.9303 GB, free: 83.68 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003028/1.088, allocations: 2.726 MB / 0.933 GB, free: 80.95 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003135/1.091, allocations: 3.332 MB / 0.9362 GB, free: 77.37 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006615/1.097, allocations: 6.397 MB / 0.9425 GB, free: 70.73 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/1.097, allocations: 7.938 kB / 0.9425 GB, free: 70.72 MB / 0.67 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02892/1.126, allocations: 14.41 MB / 0.9565 GB, free: 56.27 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.196e-05/1.126, allocations: 12 kB / 0.9566 GB, free: 56.25 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.163e-05/1.126, allocations: 16 kB / 0.9566 GB, free: 56.24 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03862/1.165, allocations: 9.242 MB / 0.9656 GB, free: 46.97 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/1.166, allocations: 299.5 kB / 0.9659 GB, free: 46.68 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07278/1.239, allocations: 52.41 MB / 1.017 GB, free: 9.469 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00355/1.243, allocations: 223.7 kB / 1.017 GB, free: 9.25 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005359/1.243, allocations: 100.4 kB / 1.017 GB, free: 9.152 MB / 0.6856 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004247/1.247, allocations: 1.578 MB / 1.019 GB, free: 7.562 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009319/1.248, allocations: 250.6 kB / 1.019 GB, free: 7.316 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0381/1.286, allocations: 14.48 MB / 1.033 GB, free: 8.777 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.868e-05/1.286, allocations: 27.94 kB / 1.033 GB, free: 8.75 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001462/1.287, allocations: 53.72 kB / 1.033 GB, free: 8.703 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.265e-05/1.287, allocations: 15.95 kB / 1.033 GB, free: 8.688 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04798/1.335, allocations: 20.23 MB / 1.053 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-05/1.335, allocations: 8 kB / 1.053 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008411/1.336, allocations: 159.7 kB / 1.053 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03333/1.369, allocations: 9.003 MB / 1.062 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007099/1.37, allocations: 48 kB / 1.062 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09277/1.462, allocations: 51.97 MB / 1.113 GB, free: 6.262 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-05/1.462, allocations: 11.94 kB / 1.113 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03437/1.497, allocations: 14.09 MB / 1.127 GB, free: 8.023 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002087/1.499, allocations: 0.8623 MB / 1.128 GB, free: 7.141 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000458/1.499, allocations: 44 kB / 1.128 GB, free: 7.098 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002233/1.501, allocations: 211.7 kB / 1.128 GB, free: 6.891 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001354/1.503, allocations: 241.5 kB / 1.128 GB, free: 6.656 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002366/1.503, allocations: 64.33 kB / 1.128 GB, free: 6.594 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001783/1.505, allocations: 1.125 MB / 1.129 GB, free: 5.445 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.01e-07/1.505, allocations: 0 / 1.129 GB, free: 5.445 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00498/1.51, allocations: 1.617 MB / 1.131 GB, free: 3.828 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03469/1.545, allocations: 14.71 MB / 1.145 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.02517/1.57, allocations: 10.21 MB / 1.155 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/1.57, allocations: 0 / 1.155 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.01965/1.589, allocations: 7.006 MB / 1.162 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003081/1.592, allocations: 0.5663 MB / 1.162 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4709/2.063, allocations: 50.38 MB / 1.212 GB, free: 275.1 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00298/2.066, allocations: 3.22 MB / 1.215 GB, free: 273.2 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000933/2.067, allocations: 401.7 kB / 1.215 GB, free: 273.1 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001161/2.068, allocations: 1.466 MB / 1.217 GB, free: 271.7 MB / 0.8419 GB Notification: Performance of SimCode: time 1.092e-06/2.068, allocations: 0 / 1.217 GB, free: 271.7 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.244/2.312, allocations: 121.8 MB / 1.336 GB, free: 157.7 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.32/18.63, allocations: 12.25 kB / 1.336 GB, free: 157.7 MB / 0.8419 GB " [Timeout remaining time 641] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 23.761409095022827] Failed to read output from testmodel.py, exit status != 0: 18.817023073963355 18.832331162 18.551505223 Calling exit ...