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.001315/0.001315, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001433/0.001433, allocations: 213.2 kB / 22.99 MB, free: 4.605 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.9774/0.9774, allocations: 149.9 MB / 463.1 MB, free: 10.35 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.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.002129/0.002129, allocations: 72.84 kB / 0.6411 GB, free: 10.1 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2057, allocations: 89.17 MB / 0.7282 GB, free: 1.004 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.03031/0.2361, allocations: 21.25 MB / 0.7489 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4694/0.7055, allocations: 16.84 MB / 0.7654 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003719/0.7092, allocations: 174.5 kB / 0.7656 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01518/0.7244, allocations: 4.159 MB / 0.7696 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0112/0.7356, allocations: 3.602 MB / 0.7731 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004015/0.7396, allocations: 1.304 MB / 0.7744 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01098/0.7506, allocations: 5.805 MB / 0.7801 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007131/0.7577, allocations: 2.825 MB / 0.7828 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007719/0.7654, allocations: 2.829 MB / 0.7856 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006196/0.7716, allocations: 2.152 MB / 0.7877 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001985/0.7736, allocations: 364.2 kB / 0.788 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004094/0.7777, allocations: 0.9542 MB / 0.789 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002801/0.7805, allocations: 1.215 MB / 0.7902 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.005277/0.7858, allocations: 1.631 MB / 0.7918 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008381/0.7942, allocations: 5.21 MB / 0.7968 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.7942, allocations: 1.312 kB / 0.7968 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.953e-06/0.7942, allocations: 4 kB / 0.7968 GB, free: 1 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001631/0.7943, allocations: 0 / 0.7968 GB, free: 1 MB / 0.5762 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.01196/0.8063, allocations: 4.639 MB / 0.8014 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.8063, allocations: 9.062 kB / 0.8014 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006329/0.807, allocations: 363.5 kB / 0.8017 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0167/0.8237, allocations: 3.285 MB / 0.8049 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00675/0.8304, allocations: 2.157 MB / 0.8071 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006088/0.831, allocations: 469.1 kB / 0.8075 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009882/0.832, allocations: 231 kB / 0.8077 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01218/0.8442, allocations: 5.37 MB / 0.813 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.764e-05/0.8443, allocations: 3.938 kB / 0.813 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003551/0.8446, allocations: 107.2 kB / 0.8131 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001923/0.8448, allocations: 166.7 kB / 0.8132 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01355/0.8584, allocations: 5.198 MB / 0.8183 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02088/0.8792, allocations: 9.171 MB / 0.8273 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01036/0.8896, allocations: 3.244 MB / 0.8304 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003922/0.8935, allocations: 1.373 MB / 0.8318 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/0.8936, allocations: 21.3 kB / 0.8318 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004969/0.8986, allocations: 2.459 MB / 0.8342 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=163): time 3.556e-06/0.8986, allocations: 0 / 0.8342 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=250): time 0.1344/1.033, allocations: 27.53 MB / 0.8611 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003221/1.033, allocations: 0.4889 MB / 0.8616 GB, free: 9.695 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003762/1.037, allocations: 2.32 MB / 0.8638 GB, free: 7.363 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0005543/1.038, allocations: 77.7 kB / 0.8639 GB, free: 7.281 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001538/1.039, allocations: 1.456 MB / 0.8653 GB, free: 5.816 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001145/1.04, allocations: 0.8588 MB / 0.8662 GB, free: 4.969 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009549/1.041, allocations: 420.5 kB / 0.8666 GB, free: 4.551 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001378/1.041, allocations: 301.1 kB / 0.8668 GB, free: 4.254 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005974/1.047, allocations: 2.066 MB / 0.8689 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006656/1.054, allocations: 2.774 MB / 0.8716 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01207/1.066, allocations: 4.159 MB / 0.8756 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/1.066, allocations: 4 kB / 0.8756 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02171/1.088, allocations: 6.633 MB / 0.8821 GB, free: 4.113 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001866/1.088, allocations: 144.5 kB / 0.8822 GB, free: 3.941 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.617e-05/1.088, allocations: 8 kB / 0.8823 GB, free: 3.934 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01096/1.099, allocations: 2.917 MB / 0.8851 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003137/1.102, allocations: 487.2 kB / 0.8856 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04553/1.148, allocations: 18.29 MB / 0.9034 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004718/1.152, allocations: 327.6 kB / 0.9037 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005611/1.153, allocations: 87.97 kB / 0.9038 GB, free: 13.66 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (162): * Single equations (assignments): 155 * 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,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.002319/1.155, allocations: 0.7025 MB / 0.9045 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001135/1.156, allocations: 349.8 kB / 0.9048 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/1.157, allocations: 388.1 kB / 0.9052 GB, free: 12.22 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.43e-05/1.157, allocations: 24 kB / 0.9052 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.317e-05/1.158, allocations: 8 kB / 0.9052 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.14e-05/1.158, allocations: 15.95 kB / 0.9053 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006309/1.164, allocations: 3.049 MB / 0.9082 GB, free: 9.121 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.668e-05/1.164, allocations: 0 / 0.9082 GB, free: 9.121 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002638/1.167, allocations: 419.3 kB / 0.9086 GB, free: 8.711 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01081/1.177, allocations: 2.855 MB / 0.9114 GB, free: 5.844 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005634/1.178, allocations: 59.89 kB / 0.9115 GB, free: 5.789 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0431/1.221, allocations: 18.07 MB / 0.9291 GB, free: 3.508 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.221, allocations: 4 kB / 0.9291 GB, free: 3.504 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02004/1.241, allocations: 6.108 MB / 0.9351 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003041/1.244, allocations: 0.6342 MB / 0.9357 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001467/1.246, allocations: 48 kB / 0.9358 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004476/1.25, allocations: 319.6 kB / 0.9361 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001462/1.251, allocations: 366.4 kB / 0.9364 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004497/1.252, allocations: 71.97 kB / 0.9365 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003847/1.256, allocations: 1.532 MB / 0.938 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/1.256, allocations: 0 / 0.938 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004873/1.261, allocations: 1.047 MB / 0.939 GB, free: 9.363 MB / 0.7169 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 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.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 {(10,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0217/1.282, allocations: 6.736 MB / 0.9456 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.02598/1.308, allocations: 6.469 MB / 0.9519 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/1.308, allocations: 0 / 0.9519 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01888/1.327, allocations: 3.932 MB / 0.9557 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006544/1.334, allocations: 1.135 MB / 0.9568 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08545/1.419, allocations: 32.38 MB / 0.9885 GB, free: 5.984 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003178/1.422, allocations: 1.684 MB / 0.9901 GB, free: 4.262 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003106/1.426, allocations: 0.5058 MB / 0.9906 GB, free: 3.75 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002834/1.428, allocations: 1.335 MB / 0.9919 GB, free: 2.414 MB / 0.7637 GB Notification: Performance of SimCode: time 1.894e-06/1.428, allocations: 0 / 0.9919 GB, free: 2.414 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6134/2.042, allocations: 107.1 MB / 1.097 GB, free: 299.2 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.28/20.32, allocations: 2.594 kB / 1.097 GB, free: 299.2 MB / 0.8575 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --stepSize=1.6 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 24.3288041963242] Failed to read output from testmodel.py, exit status != 0: 20.50904220994562 20.53454369 19.734889096 Calling exit ...