Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.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.00129/0.00129, allocations: 113.7 kB / 17.12 MB, free: 5.945 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.001478/0.001478, allocations: 208 kB / 20.09 MB, free: 2.996 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.591/1.591, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.01/1.01, allocations: 150 MB / 459.5 MB, free: 5.32 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.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",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.00205/0.00205, allocations: 71.17 kB / 0.6361 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1934, allocations: 89.13 MB / 0.7232 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.04953/0.2429, allocations: 22.95 MB / 0.7456 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.04618/0.2891, allocations: 17.82 MB / 0.763 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005444/0.2945, allocations: 194.4 kB / 0.7632 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01687/0.3114, allocations: 4.212 MB / 0.7673 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01946/0.3309, allocations: 3.584 MB / 0.7708 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003979/0.3348, allocations: 1.3 MB / 0.7721 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01167/0.3465, allocations: 5.801 MB / 0.7777 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005567/0.3521, allocations: 2.792 MB / 0.7805 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0067/0.3588, allocations: 2.87 MB / 0.7833 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005598/0.3644, allocations: 2.311 MB / 0.7855 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.00144/0.3658, allocations: 352 kB / 0.7859 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003243/0.3691, allocations: 1.037 MB / 0.7869 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001726/0.3708, allocations: 1.187 MB / 0.788 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003533/0.3743, allocations: 1.951 MB / 0.7899 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.008011/0.3823, allocations: 5.101 MB / 0.7949 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.3823, allocations: 0 / 0.7949 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3823, allocations: 0 / 0.7949 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001882/0.3825, allocations: 4 kB / 0.7949 GB, free: 10.27 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: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.01193/0.3945, allocations: 4.699 MB / 0.7995 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.3945, allocations: 12.03 kB / 0.7995 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005886/0.3951, allocations: 362.3 kB / 0.7999 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01671/0.4118, allocations: 3.252 MB / 0.803 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005517/0.4173, allocations: 2.324 MB / 0.8053 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005382/0.4178, allocations: 474 kB / 0.8058 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008252/0.4187, allocations: 236 kB / 0.806 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01339/0.4321, allocations: 4.694 MB / 0.8106 GB, free: 9.883 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.31e-05/0.4322, allocations: 3.938 kB / 0.8106 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007128/0.4329, allocations: 104 kB / 0.8107 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002505/0.4331, allocations: 172.8 kB / 0.8108 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01639/0.4495, allocations: 5.175 MB / 0.8159 GB, free: 4.414 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02968/0.4792, allocations: 15.09 MB / 0.8306 GB, free: 4.152 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0108/0.49, allocations: 3.145 MB / 0.8337 GB, free: 0.9961 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004342/0.4943, allocations: 1.35 MB / 0.835 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000203/0.4945, allocations: 29.23 kB / 0.835 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004942/0.4995, allocations: 1.586 MB / 0.8366 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=163): time 4.498e-06/0.4995, allocations: 0 / 0.8366 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=250): time 0.1352/0.6347, allocations: 27.31 MB / 0.8633 GB, free: 2.508 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.959e-05/0.6348, allocations: 81.41 kB / 0.8633 GB, free: 2.414 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003125/0.6379, allocations: 1.919 MB / 0.8652 GB, free: 496 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0003569/0.6383, allocations: 77.7 kB / 0.8653 GB, free: 412 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.3833/1.022, allocations: 1.502 MB / 0.8668 GB, free: 130.8 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001255/1.023, allocations: 0.8669 MB / 0.8676 GB, free: 130.6 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009491/1.024, allocations: 427.9 kB / 0.868 GB, free: 130.6 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.868e-05/1.024, allocations: 305.9 kB / 0.8683 GB, free: 130.3 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00547/1.029, allocations: 1.861 MB / 0.8701 GB, free: 129.9 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005755/1.035, allocations: 2.319 MB / 0.8724 GB, free: 128.8 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01131/1.046, allocations: 4.268 MB / 0.8766 GB, free: 127 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.325e-05/1.046, allocations: 3.906 kB / 0.8766 GB, free: 127 MB / 0.67 GB Notification: Performance of matching and sorting (n=315) (initialization): time 0.01908/1.065, allocations: 6.3 MB / 0.8827 GB, free: 124.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.569e-05/1.066, allocations: 151.3 kB / 0.8829 GB, free: 124.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.112e-05/1.066, allocations: 18.25 kB / 0.8829 GB, free: 124.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008106/1.074, allocations: 2.651 MB / 0.8855 GB, free: 124.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002768/1.076, allocations: 0.5013 MB / 0.886 GB, free: 124.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03385/1.11, allocations: 18.2 MB / 0.9037 GB, free: 113.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003733/1.114, allocations: 327 kB / 0.904 GB, free: 113 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002542/1.114, allocations: 99.97 kB / 0.9041 GB, free: 112.9 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 25 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (178): * Single equations (assignments): 171 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,48.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,63)} Notification: Performance of prepare postOptimizeDAE: time 0.001296/1.116, allocations: 0.7154 MB / 0.9048 GB, free: 112.2 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005171/1.116, allocations: 318 kB / 0.9051 GB, free: 111.9 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000705/1.117, allocations: 353.8 kB / 0.9055 GB, free: 111.5 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/1.117, allocations: 24.98 kB / 0.9055 GB, free: 111.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.68e-05/1.117, allocations: 15.94 kB / 0.9055 GB, free: 111.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/1.117, allocations: 12.7 kB / 0.9055 GB, free: 111.4 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003361/1.12, allocations: 3.51 MB / 0.909 GB, free: 108 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/1.12, allocations: 0 / 0.909 GB, free: 108 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002347/1.123, allocations: 411.4 kB / 0.9093 GB, free: 107.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0073/1.13, allocations: 2.6 MB / 0.9119 GB, free: 105 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002956/1.13, allocations: 55.97 kB / 0.9119 GB, free: 104.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03279/1.163, allocations: 18 MB / 0.9295 GB, free: 86.64 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1.163, allocations: 0.8594 kB / 0.9295 GB, free: 86.64 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01562/1.179, allocations: 5.88 MB / 0.9353 GB, free: 80.73 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001867/1.18, allocations: 0.6512 MB / 0.9359 GB, free: 80.06 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006074/1.181, allocations: 40 kB / 0.9359 GB, free: 80.02 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003206/1.184, allocations: 311.5 kB / 0.9362 GB, free: 79.71 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001245/1.186, allocations: 346.7 kB / 0.9366 GB, free: 79.38 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001906/1.186, allocations: 71.97 kB / 0.9366 GB, free: 79.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001672/1.187, allocations: 1.252 MB / 0.9378 GB, free: 78.05 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/1.187, allocations: 0 / 0.9378 GB, free: 78.05 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003667/1.191, allocations: 0.9687 MB / 0.9388 GB, free: 77.08 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad5.count,varLoad4.count,varLoad3.count,varLoad2.count,varLoad1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,63)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01546/1.207, allocations: 6.501 MB / 0.9451 GB, free: 70.53 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02196/1.228, allocations: 6.169 MB / 0.9512 GB, free: 64.28 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/1.228, allocations: 4 kB / 0.9512 GB, free: 64.28 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.01726/1.246, allocations: 3.808 MB / 0.9549 GB, free: 60.44 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00528/1.251, allocations: 1.03 MB / 0.9559 GB, free: 59.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06755/1.319, allocations: 29.58 MB / 0.9848 GB, free: 29.21 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002453/1.321, allocations: 2.229 MB / 0.987 GB, free: 26.95 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002133/1.323, allocations: 480.2 kB / 0.9874 GB, free: 26.47 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001692/1.325, allocations: 1.319 MB / 0.9887 GB, free: 25.15 MB / 0.67 GB Notification: Performance of SimCode: time 1.152e-06/1.325, allocations: 0 / 0.9887 GB, free: 25.15 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1704/1.495, allocations: 96.05 MB / 1.082 GB, free: 9.965 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.17/20.67, allocations: 0 / 1.082 GB, free: 9.965 MB / 0.7481 GB " [Timeout remaining time 639] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv --start-time 0 --stop-time 4000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.6 IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 24.999038642970845] Failed to read output from testmodel.py, exit status != 0: 20.822231055935845 20.84724102 20.459560981 Calling exit ...