Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001269/0.001269, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002143/0.002143, allocations: 219.8 kB / 22.26 MB, free: 5.125 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.453/1.453, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002547/0.002547, allocations: 295.2 kB / 312.7 MB, free: 2.895 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.19/1.19, allocations: 180.6 MB / 0.5369 GB, free: 13 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002838/0.002838, allocations: 102.1 kB / 0.7396 GB, free: 28.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.177, allocations: 95.39 MB / 0.8328 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.0298/0.2068, allocations: 23.49 MB / 0.8557 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02958/0.2364, allocations: 18.19 MB / 0.8735 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002984/0.2394, allocations: 154.8 kB / 0.8736 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0116/0.251, allocations: 4.353 MB / 0.8779 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01153/0.2625, allocations: 3.584 MB / 0.8814 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003985/0.2665, allocations: 1.335 MB / 0.8827 GB, free: 5.344 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00966/0.2762, allocations: 5.805 MB / 0.8883 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006309/0.2825, allocations: 2.881 MB / 0.8912 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005443/0.2879, allocations: 2.523 MB / 0.8936 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005611/0.2935, allocations: 2.51 MB / 0.8961 GB, free: 7.504 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001607/0.2951, allocations: 372 kB / 0.8964 GB, free: 7.141 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00327/0.2984, allocations: 1.061 MB / 0.8975 GB, free: 6.078 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002238/0.3006, allocations: 1.222 MB / 0.8987 GB, free: 4.852 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.004796/0.3054, allocations: 2.002 MB / 0.9006 GB, free: 2.84 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.009228/0.3147, allocations: 5.191 MB / 0.9057 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.3147, allocations: 4 kB / 0.9057 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3147, allocations: 0 / 0.9057 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001875/0.3149, allocations: 0 / 0.9057 GB, free: 13.62 MB / 0.6544 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.01284/0.3277, allocations: 4.662 MB / 0.9102 GB, free: 8.863 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.98e-05/0.3278, allocations: 13.34 kB / 0.9102 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001091/0.3288, allocations: 370.3 kB / 0.9106 GB, free: 8.48 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0162/0.345, allocations: 3.279 MB / 0.9138 GB, free: 5.195 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005783/0.3508, allocations: 2.139 MB / 0.9159 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005047/0.3513, allocations: 470 kB / 0.9163 GB, free: 2.457 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000979/0.3523, allocations: 232 kB / 0.9166 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01224/0.3646, allocations: 4.823 MB / 0.9213 GB, free: 13.26 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-05/0.3646, allocations: 3.938 kB / 0.9213 GB, free: 13.26 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005233/0.3651, allocations: 104 kB / 0.9214 GB, free: 13.16 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002148/0.3654, allocations: 168.8 kB / 0.9215 GB, free: 12.99 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01413/0.3795, allocations: 5.198 MB / 0.9266 GB, free: 7.773 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02712/0.4066, allocations: 14.34 MB / 0.9406 GB, free: 8.258 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01013/0.4167, allocations: 3.259 MB / 0.9438 GB, free: 4.992 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003847/0.4206, allocations: 1.377 MB / 0.9451 GB, free: 3.617 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001888/0.4208, allocations: 25.3 kB / 0.9452 GB, free: 3.594 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004683/0.4255, allocations: 1.794 MB / 0.9469 GB, free: 1.73 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=163): time 3.817e-06/0.4255, allocations: 0 / 0.9469 GB, free: 1.73 MB / 0.6856 GB Notification: Performance of matching and sorting (n=250): time 0.1234/0.5488, allocations: 27.54 MB / 0.9738 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003027/0.5491, allocations: 0.4889 MB / 0.9743 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004106/0.5532, allocations: 2.293 MB / 0.9765 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0005076/0.5537, allocations: 77.7 kB / 0.9766 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001572/0.5553, allocations: 1.46 MB / 0.978 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001223/0.5565, allocations: 0.8598 MB / 0.9789 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001283/0.5578, allocations: 420.5 kB / 0.9793 GB, free: 408 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.558, allocations: 305.1 kB / 0.9796 GB, free: 100 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3999/0.9578, allocations: 1.921 MB / 0.9814 GB, free: 134.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005639/0.9635, allocations: 2.229 MB / 0.9836 GB, free: 134.2 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01014/0.9736, allocations: 4.165 MB / 0.9877 GB, free: 132.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.778e-05/0.9736, allocations: 2.625 kB / 0.9877 GB, free: 132.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01942/0.993, allocations: 6.478 MB / 0.994 GB, free: 130.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.998e-05/0.9931, allocations: 156.2 kB / 0.9942 GB, free: 130.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/0.9931, allocations: 5.438 kB / 0.9942 GB, free: 130.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009356/1.002, allocations: 2.923 MB / 0.997 GB, free: 130.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002675/1.005, allocations: 488.7 kB / 0.9975 GB, free: 130 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03322/1.038, allocations: 18.66 MB / 1.016 GB, free: 120.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003621/1.042, allocations: 321.2 kB / 1.016 GB, free: 120.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002788/1.042, allocations: 89.16 kB / 1.016 GB, free: 120.1 MB / 0.7169 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.001293/1.044, allocations: 0.7 MB / 1.017 GB, free: 119.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005069/1.044, allocations: 356 kB / 1.017 GB, free: 119.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006645/1.045, allocations: 380.5 kB / 1.017 GB, free: 119.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/1.045, allocations: 24.97 kB / 1.018 GB, free: 119.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.272e-05/1.045, allocations: 12.12 kB / 1.018 GB, free: 119.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.644e-05/1.045, allocations: 11.95 kB / 1.018 GB, free: 119.2 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003468/1.048, allocations: 3.608 MB / 1.021 GB, free: 116.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/1.048, allocations: 0 / 1.021 GB, free: 116.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002245/1.051, allocations: 427.9 kB / 1.021 GB, free: 115.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008419/1.059, allocations: 2.872 MB / 1.024 GB, free: 112.9 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003908/1.059, allocations: 43.97 kB / 1.024 GB, free: 112.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03253/1.092, allocations: 18.42 MB / 1.042 GB, free: 94.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.092, allocations: 96 / 1.042 GB, free: 94.25 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0154/1.107, allocations: 6.126 MB / 1.048 GB, free: 88.09 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001834/1.109, allocations: 0.6304 MB / 1.049 GB, free: 87.46 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005451/1.11, allocations: 45.22 kB / 1.049 GB, free: 87.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002907/1.113, allocations: 319.6 kB / 1.049 GB, free: 87.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001002/1.114, allocations: 362.5 kB / 1.05 GB, free: 86.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000198/1.114, allocations: 72.47 kB / 1.05 GB, free: 86.68 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001642/1.115, allocations: 1.54 MB / 1.051 GB, free: 85.14 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.115, allocations: 0 / 1.051 GB, free: 85.14 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002344/1.118, allocations: 1.043 MB / 1.052 GB, free: 84.09 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.01498/1.133, allocations: 6.748 MB / 1.059 GB, free: 77.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01962/1.152, allocations: 6.309 MB / 1.065 GB, free: 70.91 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.824e-06/1.152, allocations: 0 / 1.065 GB, free: 70.91 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.01507/1.167, allocations: 3.918 MB / 1.069 GB, free: 66.96 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004868/1.172, allocations: 1.147 MB / 1.07 GB, free: 65.91 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06019/1.232, allocations: 31.83 MB / 1.101 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001502/1.234, allocations: 2.231 MB / 1.103 GB, free: 31.37 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002308/1.236, allocations: 0.5057 MB / 1.104 GB, free: 30.86 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001549/1.238, allocations: 1.339 MB / 1.105 GB, free: 29.52 MB / 0.7169 GB Notification: Performance of SimCode: time 1.292e-06/1.238, allocations: 0 / 1.105 GB, free: 29.52 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1892/1.427, allocations: 105.9 MB / 1.208 GB, free: 4.762 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.76/21.19, allocations: 10.56 kB / 1.208 GB, free: 4.754 MB / 0.795 GB " [Timeout remaining time 639] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --stepSize=1.6 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 25.42745719687082] Failed to read output from testmodel.py, exit status != 0: 21.369406901067123 21.393645018 21.074207067 Calling exit ...