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.001277/0.001277, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.00147/0.00147, allocations: 217.3 kB / 23.78 MB, free: 4.523 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.462/1.462, allocations: 230.6 MB / 257.6 MB, free: 7.793 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.101/1.101, allocations: 150 MB / 463.9 MB, free: 10.24 MB / 366.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLinesLinearized",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.001966/0.001966, allocations: 69.89 kB / 0.642 GB, free: 9.895 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.188, allocations: 89.16 MB / 0.7291 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02901/0.217, allocations: 21.23 MB / 0.7498 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3907/0.6077, allocations: 16.8 MB / 0.7662 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002798/0.6105, allocations: 149.2 kB / 0.7663 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.009889/0.6204, allocations: 4.157 MB / 0.7704 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01199/0.6324, allocations: 3.596 MB / 0.7739 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003441/0.6358, allocations: 1.318 MB / 0.7752 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009312/0.6451, allocations: 5.802 MB / 0.7809 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004751/0.6499, allocations: 2.877 MB / 0.7837 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005681/0.6556, allocations: 2.534 MB / 0.7862 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007014/0.6626, allocations: 2.517 MB / 0.7886 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001349/0.6639, allocations: 368.8 kB / 0.789 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003122/0.6671, allocations: 0.9642 MB / 0.7899 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001443/0.6685, allocations: 1.221 MB / 0.7911 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002827/0.6713, allocations: 1.648 MB / 0.7927 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006654/0.678, allocations: 5.238 MB / 0.7978 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.678, allocations: 0 / 0.7978 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.124e-06/0.678, allocations: 1 kB / 0.7978 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001437/0.6781, allocations: 0 / 0.7978 GB, free: 0.6797 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.01425/0.6924, allocations: 4.661 MB / 0.8024 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/0.6924, allocations: 10.44 kB / 0.8024 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001266/0.6926, allocations: 63.42 kB / 0.8024 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006857/0.6933, allocations: 364.1 kB / 0.8028 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01649/0.7097, allocations: 3.288 MB / 0.806 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005924/0.7157, allocations: 2.129 MB / 0.8081 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005114/0.7162, allocations: 464.8 kB / 0.8085 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009259/0.7171, allocations: 245.1 kB / 0.8088 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01368/0.7308, allocations: 5.877 MB / 0.8145 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.572e-05/0.7308, allocations: 0.75 kB / 0.8145 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003962/0.7312, allocations: 106.7 kB / 0.8146 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002128/0.7314, allocations: 172.3 kB / 0.8148 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01299/0.7444, allocations: 5.194 MB / 0.8198 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02216/0.7666, allocations: 9.186 MB / 0.8288 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01058/0.7772, allocations: 3.251 MB / 0.832 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003728/0.7809, allocations: 1.37 MB / 0.8333 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001356/0.781, allocations: 21.3 kB / 0.8333 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004957/0.786, allocations: 2.447 MB / 0.8357 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=163): time 5.851e-06/0.786, allocations: 0 / 0.8357 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of matching and sorting (n=250): time 0.1325/0.9185, allocations: 27.54 MB / 0.8626 GB, free: 9.188 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003809/0.9189, allocations: 0.4916 MB / 0.8631 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004832/0.9238, allocations: 2.304 MB / 0.8654 GB, free: 6.27 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0006734/0.9244, allocations: 73.7 kB / 0.8654 GB, free: 6.191 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001697/0.9261, allocations: 1.453 MB / 0.8668 GB, free: 4.727 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.00138/0.9275, allocations: 0.8607 MB / 0.8677 GB, free: 3.879 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001519/0.929, allocations: 416.5 kB / 0.8681 GB, free: 3.465 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.9292, allocations: 309.1 kB / 0.8684 GB, free: 3.16 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005812/0.935, allocations: 2.066 MB / 0.8704 GB, free: 1.059 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006355/0.9413, allocations: 2.777 MB / 0.8731 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0115/0.9528, allocations: 4.16 MB / 0.8772 GB, free: 9.777 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-05/0.9529, allocations: 8 kB / 0.8772 GB, free: 9.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02123/0.9741, allocations: 6.621 MB / 0.8836 GB, free: 3.027 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001743/0.9743, allocations: 150.5 kB / 0.8838 GB, free: 2.852 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.793e-05/0.9743, allocations: 9.125 kB / 0.8838 GB, free: 2.844 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0115/0.9858, allocations: 2.92 MB / 0.8867 GB, free: 15.92 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003143/0.9889, allocations: 483.2 kB / 0.8871 GB, free: 15.45 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04513/1.034, allocations: 18.29 MB / 0.905 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004889/1.039, allocations: 323.6 kB / 0.9053 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007622/1.04, allocations: 91.97 kB / 0.9054 GB, free: 12.57 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.00233/1.042, allocations: 0.7064 MB / 0.9061 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001118/1.043, allocations: 349.8 kB / 0.9064 GB, free: 11.51 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/1.044, allocations: 388.1 kB / 0.9068 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.75e-05/1.044, allocations: 24 kB / 0.9068 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-05/1.044, allocations: 13.12 kB / 0.9068 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.503e-05/1.044, allocations: 11.95 kB / 0.9068 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00645/1.051, allocations: 3.043 MB / 0.9098 GB, free: 8.023 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.264e-05/1.051, allocations: 0 / 0.9098 GB, free: 8.023 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002758/1.054, allocations: 419.3 kB / 0.9102 GB, free: 7.613 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01142/1.065, allocations: 2.855 MB / 0.913 GB, free: 4.75 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000677/1.066, allocations: 51.97 kB / 0.913 GB, free: 4.699 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0453/1.111, allocations: 18.08 MB / 0.9307 GB, free: 2.41 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.111, allocations: 0 / 0.9307 GB, free: 2.41 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02164/1.133, allocations: 6.118 MB / 0.9367 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002805/1.136, allocations: 0.6303 MB / 0.9373 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001877/1.137, allocations: 51.94 kB / 0.9373 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004787/1.142, allocations: 315.6 kB / 0.9376 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001691/1.144, allocations: 358.5 kB / 0.938 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004764/1.144, allocations: 75.95 kB / 0.938 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003534/1.148, allocations: 1.536 MB / 0.9395 GB, free: 9.309 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/1.148, allocations: 0 / 0.9395 GB, free: 9.309 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.005801/1.154, allocations: 1.043 MB / 0.9406 GB, free: 8.266 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.02089/1.175, allocations: 6.737 MB / 0.9471 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.02599/1.201, allocations: 6.465 MB / 0.9534 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.938e-06/1.201, allocations: 3.938 kB / 0.9534 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01902/1.22, allocations: 3.934 MB / 0.9573 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007752/1.227, allocations: 1.128 MB / 0.9584 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09082/1.318, allocations: 32.38 MB / 0.99 GB, free: 4.887 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003359/1.322, allocations: 1.684 MB / 0.9917 GB, free: 3.164 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002993/1.325, allocations: 0.5058 MB / 0.9922 GB, free: 2.652 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002707/1.327, allocations: 1.347 MB / 0.9935 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of SimCode: time 1.182e-06/1.327, allocations: 0 / 0.9935 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.591/1.918, allocations: 106.9 MB / 1.098 GB, free: 297 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.45/23.37, allocations: 3.125 kB / 1.098 GB, free: 297 MB / 0.8575 GB " [Timeout remaining time 636] (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: 27.596048446022905] Failed to read output from testmodel.py, exit status != 0: 23.63389503804501 23.659645436 22.976470097 Calling exit ...