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.001341/0.001341, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001546/0.001546, allocations: 215.6 kB / 22.25 MB, free: 4.855 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.442/1.442, allocations: 230.6 MB / 256 MB, free: 7.781 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.002623/0.002623, allocations: 289.2 kB / 312.7 MB, free: 2.688 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.226/1.226, allocations: 180.6 MB / 0.5369 GB, free: 14.54 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.003152/0.003152, allocations: 99.67 kB / 0.7395 GB, free: 28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1574, allocations: 95.38 MB / 0.8327 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02707/0.1845, allocations: 21.27 MB / 0.8534 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02776/0.2123, allocations: 16.85 MB / 0.8699 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002818/0.2151, allocations: 150.8 kB / 0.87 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01138/0.2265, allocations: 4.166 MB / 0.8741 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01024/0.2367, allocations: 3.592 MB / 0.8776 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003449/0.2401, allocations: 1.314 MB / 0.8789 GB, free: 8.836 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.008239/0.2484, allocations: 5.812 MB / 0.8846 GB, free: 3.008 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004555/0.2529, allocations: 2.826 MB / 0.8873 GB, free: 100 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004487/0.2574, allocations: 2.621 MB / 0.8899 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004582/0.262, allocations: 2.256 MB / 0.8921 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001106/0.2631, allocations: 368 kB / 0.8925 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0026/0.2657, allocations: 0.9555 MB / 0.8934 GB, free: 9.887 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001716/0.2674, allocations: 1.219 MB / 0.8946 GB, free: 8.664 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003133/0.2706, allocations: 1.645 MB / 0.8962 GB, free: 7.012 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006917/0.2775, allocations: 5.219 MB / 0.9013 GB, free: 1.773 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.2775, allocations: 3.984 kB / 0.9013 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2775, allocations: 0 / 0.9013 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001065/0.2776, allocations: 4 kB / 0.9013 GB, free: 1.766 MB / 0.6387 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.01029/0.2879, allocations: 4.658 MB / 0.9058 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.2879, allocations: 13.94 kB / 0.9058 GB, free: 13 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005116/0.2884, allocations: 358.3 kB / 0.9062 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01637/0.3048, allocations: 3.287 MB / 0.9094 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005639/0.3105, allocations: 2.139 MB / 0.9115 GB, free: 7.129 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004498/0.3109, allocations: 474 kB / 0.9119 GB, free: 6.602 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006199/0.3115, allocations: 228 kB / 0.9122 GB, free: 6.379 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01146/0.323, allocations: 5.876 MB / 0.9179 GB, free: 100 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.271e-05/0.323, allocations: 3.938 kB / 0.9179 GB, free: 96 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003302/0.3234, allocations: 104 kB / 0.918 GB, free: 15.99 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002163/0.3236, allocations: 176.8 kB / 0.9182 GB, free: 15.82 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01417/0.3378, allocations: 5.191 MB / 0.9232 GB, free: 10.61 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02108/0.3588, allocations: 9.174 MB / 0.9322 GB, free: 1.309 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01041/0.3692, allocations: 3.259 MB / 0.9354 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003856/0.3731, allocations: 1.369 MB / 0.9367 GB, free: 12.67 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/0.3732, allocations: 21.31 kB / 0.9367 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004764/0.378, allocations: 2.447 MB / 0.9391 GB, free: 9.977 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=163): time 4.037e-06/0.378, allocations: 4 kB / 0.9391 GB, free: 9.973 MB / 0.6856 GB Notification: Performance of matching and sorting (n=250): time 0.1309/0.5089, allocations: 27.54 MB / 0.966 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003103/0.5092, allocations: 0.4967 MB / 0.9665 GB, free: 13.78 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00345/0.5127, allocations: 2.316 MB / 0.9688 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003838/0.5131, allocations: 77.7 kB / 0.9688 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001375/0.5144, allocations: 1.448 MB / 0.9703 GB, free: 9.906 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009645/0.5154, allocations: 0.8675 MB / 0.9711 GB, free: 9.031 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008967/0.5163, allocations: 412.5 kB / 0.9715 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.5164, allocations: 309.1 kB / 0.9718 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005634/0.5221, allocations: 2.07 MB / 0.9738 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006133/0.5282, allocations: 2.766 MB / 0.9765 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3258/0.854, allocations: 4.163 MB / 0.9806 GB, free: 134.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.854, allocations: 1.781 kB / 0.9806 GB, free: 134.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01824/0.8723, allocations: 6.621 MB / 0.987 GB, free: 133.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.202e-05/0.8723, allocations: 152.8 kB / 0.9872 GB, free: 133.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.8724, allocations: 5.953 kB / 0.9872 GB, free: 133.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01005/0.8824, allocations: 2.918 MB / 0.9901 GB, free: 132.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002963/0.8854, allocations: 489.6 kB / 0.9905 GB, free: 132.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03599/0.9214, allocations: 18.29 MB / 1.008 GB, free: 124.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003673/0.925, allocations: 323.8 kB / 1.009 GB, free: 124.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002136/0.9253, allocations: 95.41 kB / 1.009 GB, free: 124.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.001149/0.9264, allocations: 0.7025 MB / 1.009 GB, free: 123.7 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004068/0.9268, allocations: 353.7 kB / 1.01 GB, free: 123.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006164/0.9274, allocations: 386.9 kB / 1.01 GB, free: 123.3 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.9274, allocations: 25.56 kB / 1.01 GB, free: 123.3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.797e-05/0.9275, allocations: 7.281 kB / 1.01 GB, free: 123.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.708e-05/0.9275, allocations: 11.44 kB / 1.01 GB, free: 123.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003036/0.9305, allocations: 3.048 MB / 1.013 GB, free: 122 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.575e-06/0.9305, allocations: 3.438 kB / 1.013 GB, free: 122 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002284/0.9328, allocations: 421.6 kB / 1.014 GB, free: 121.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008448/0.9413, allocations: 2.868 MB / 1.016 GB, free: 120.3 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002029/0.9415, allocations: 51.97 kB / 1.016 GB, free: 120.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03268/0.9741, allocations: 18.05 MB / 1.034 GB, free: 102 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.9741, allocations: 0.9844 kB / 1.034 GB, free: 102 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01571/0.9899, allocations: 6.12 MB / 1.04 GB, free: 95.86 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001811/0.9917, allocations: 0.6343 MB / 1.041 GB, free: 95.22 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004554/0.9921, allocations: 44 kB / 1.041 GB, free: 95.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002944/0.9951, allocations: 319.6 kB / 1.041 GB, free: 94.86 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009808/0.9961, allocations: 362.5 kB / 1.041 GB, free: 94.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001739/0.9962, allocations: 72.77 kB / 1.041 GB, free: 94.43 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001569/0.9978, allocations: 1.54 MB / 1.043 GB, free: 92.89 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9978, allocations: 3.938 kB / 1.043 GB, free: 92.89 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00197/0.9998, allocations: 1.039 MB / 1.044 GB, free: 91.85 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.01542/1.015, allocations: 6.738 MB / 1.051 GB, free: 85.07 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.02043/1.036, allocations: 6.45 MB / 1.057 GB, free: 78.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/1.036, allocations: 8.25 kB / 1.057 GB, free: 78.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.01531/1.051, allocations: 3.922 MB / 1.061 GB, free: 74.55 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003923/1.055, allocations: 1.148 MB / 1.062 GB, free: 73.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05744/1.112, allocations: 32.38 MB / 1.093 GB, free: 40.55 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001373/1.114, allocations: 1.684 MB / 1.095 GB, free: 38.82 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002044/1.116, allocations: 0.5096 MB / 1.096 GB, free: 38.31 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001387/1.117, allocations: 1.335 MB / 1.097 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of SimCode: time 1.092e-06/1.117, allocations: 0 / 1.097 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1683/1.285, allocations: 107.2 MB / 1.202 GB, free: 11.23 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.51/18.79, allocations: 4 kB / 1.202 GB, free: 11.23 MB / 0.795 GB " [Timeout remaining time 641] (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: 23.0236319960095] Failed to read output from testmodel.py, exit status != 0: 18.98758736019954 19.015337385 18.732897573 Calling exit ...