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.001115/0.001115, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008414/0.0008414, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8475/0.8475, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.001433/0.001433, allocations: 245.9 kB / 259.4 MB, free: 13.01 MB / 250.7 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 0.663/0.663, allocations: 138.4 MB / 454.3 MB, free: 30 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.6463 GB, free: 1.832 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.244e-05/1.423e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.828 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.2295/0.2295, allocations: 20.93 MB / 0.6668 GB, free: 45.07 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01429/0.2438, allocations: 16.65 MB / 0.683 GB, free: 34.39 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001425/0.2452, allocations: 149.6 kB / 0.6832 GB, free: 34.31 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.004148/0.2494, allocations: 4.181 MB / 0.6872 GB, free: 31.98 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.00579/0.2552, allocations: 3.698 MB / 0.6909 GB, free: 29.72 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002369/0.2575, allocations: 1.331 MB / 0.6922 GB, free: 29.01 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.005782/0.2633, allocations: 5.975 MB / 0.698 GB, free: 26.09 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002571/0.2659, allocations: 2.837 MB / 0.7008 GB, free: 24.56 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003401/0.2693, allocations: 3.486 MB / 0.7042 GB, free: 23.13 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002066/0.2714, allocations: 2.029 MB / 0.7061 GB, free: 22.04 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0003799/0.2717, allocations: 372.4 kB / 0.7065 GB, free: 22.04 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001359/0.2731, allocations: 0.9651 MB / 0.7074 GB, free: 21.69 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0005687/0.2737, allocations: 1.27 MB / 0.7087 GB, free: 20.75 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0009594/0.2746, allocations: 1.381 MB / 0.71 GB, free: 20.01 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002931/0.2776, allocations: 5.232 MB / 0.7151 GB, free: 16.4 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2776, allocations: 0 / 0.7151 GB, free: 16.4 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2776, allocations: 0 / 0.7151 GB, free: 16.4 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.481e-05/0.2776, allocations: 1.125 kB / 0.7151 GB, free: 16.4 MB / 0.5573 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.004658/0.2823, allocations: 4.623 MB / 0.7197 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.2823, allocations: 11.06 kB / 0.7197 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002949/0.2826, allocations: 361 kB / 0.72 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007279/0.2899, allocations: 3.284 MB / 0.7232 GB, free: 11.42 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002304/0.2922, allocations: 2.139 MB / 0.7253 GB, free: 9.898 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001872/0.2924, allocations: 471.1 kB / 0.7258 GB, free: 9.488 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003006/0.2927, allocations: 231.7 kB / 0.726 GB, free: 9.414 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005029/0.2977, allocations: 5.886 MB / 0.7317 GB, free: 3.184 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.26e-05/0.2977, allocations: 0 / 0.7317 GB, free: 3.184 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002213/0.2979, allocations: 104 kB / 0.7318 GB, free: 3.082 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001011/0.298, allocations: 168.8 kB / 0.732 GB, free: 2.914 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006479/0.3045, allocations: 5.198 MB / 0.7371 GB, free: 13.7 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01012/0.3146, allocations: 9.179 MB / 0.746 GB, free: 4.418 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004975/0.3196, allocations: 3.245 MB / 0.7492 GB, free: 1.16 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001911/0.3215, allocations: 1.378 MB / 0.7505 GB, free: 15.78 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.04e-05/0.3216, allocations: 17.31 kB / 0.7506 GB, free: 15.76 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002439/0.3241, allocations: 2.454 MB / 0.753 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=163): time 2.605e-06/0.3241, allocations: 0 / 0.753 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=250): time 0.06052/0.3846, allocations: 27.54 MB / 0.7798 GB, free: 1.496 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000165/0.3847, allocations: 0.4928 MB / 0.7803 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00223/0.387, allocations: 2.318 MB / 0.7826 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001621/0.3871, allocations: 81.69 kB / 0.7827 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008391/0.388, allocations: 1.452 MB / 0.7841 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005128/0.3885, allocations: 0.8519 MB / 0.7849 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005364/0.389, allocations: 412.5 kB / 0.7853 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.54e-05/0.3891, allocations: 305.1 kB / 0.7856 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002867/0.392, allocations: 2.066 MB / 0.7876 GB, free: 9.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003196/0.3952, allocations: 2.77 MB / 0.7903 GB, free: 6.355 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005531/0.4007, allocations: 4.169 MB / 0.7944 GB, free: 2.051 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.4007, allocations: 3.938 kB / 0.7944 GB, free: 2.047 MB / 0.6198 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.00976/0.4104, allocations: 6.621 MB / 0.8009 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.687e-05/0.4105, allocations: 148.5 kB / 0.801 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.4105, allocations: 4 kB / 0.801 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005121/0.4156, allocations: 2.925 MB / 0.8039 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/0.4169, allocations: 487.2 kB / 0.8043 GB, free: 7.715 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02187/0.4388, allocations: 18.29 MB / 0.8222 GB, free: 5.234 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002144/0.4409, allocations: 327.6 kB / 0.8225 GB, free: 4.914 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/0.4411, allocations: 87.97 kB / 0.8226 GB, free: 4.828 MB / 0.6511 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.001138/0.4422, allocations: 0.6992 MB / 0.8233 GB, free: 4.121 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003359/0.4425, allocations: 356 kB / 0.8236 GB, free: 3.773 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005036/0.443, allocations: 384.1 kB / 0.824 GB, free: 3.391 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.4431, allocations: 24 kB / 0.824 GB, free: 3.367 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.548e-05/0.4431, allocations: 8 kB / 0.824 GB, free: 3.359 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.4431, allocations: 19.95 kB / 0.824 GB, free: 3.34 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002786/0.4459, allocations: 3.037 MB / 0.827 GB, free: 260 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.4459, allocations: 0 / 0.827 GB, free: 260 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.447, allocations: 419.3 kB / 0.8274 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004875/0.4519, allocations: 2.863 MB / 0.8302 GB, free: 12.97 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001356/0.452, allocations: 51.97 kB / 0.8302 GB, free: 12.92 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02222/0.4742, allocations: 18.07 MB / 0.8479 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4742, allocations: 4 kB / 0.8479 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00972/0.484, allocations: 6.104 MB / 0.8539 GB, free: 4.477 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/0.485, allocations: 0.6382 MB / 0.8545 GB, free: 3.836 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002847/0.4853, allocations: 47.98 kB / 0.8545 GB, free: 3.789 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001446/0.4868, allocations: 315.6 kB / 0.8548 GB, free: 3.48 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006773/0.4874, allocations: 366.4 kB / 0.8552 GB, free: 3.125 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001216/0.4876, allocations: 71.91 kB / 0.8552 GB, free: 3.055 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001437/0.489, allocations: 1.536 MB / 0.8567 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9e-08/0.489, allocations: 0 / 0.8567 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00191/0.4909, allocations: 1.039 MB / 0.8578 GB, free: 492 kB / 0.6823 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.01005/0.501, allocations: 6.741 MB / 0.8643 GB, free: 9.699 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01193/0.5129, allocations: 6.45 MB / 0.8706 GB, free: 3.125 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.5129, allocations: 11.88 kB / 0.8707 GB, free: 3.113 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.008524/0.5214, allocations: 3.924 MB / 0.8745 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002972/0.5244, allocations: 1.145 MB / 0.8756 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04153/0.5659, allocations: 32.57 MB / 0.9074 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001424/0.5673, allocations: 1.681 MB / 0.909 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001393/0.5687, allocations: 0.5058 MB / 0.9095 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001145/0.5699, allocations: 1.34 MB / 0.9108 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of SimCode: time 8.02e-07/0.5699, allocations: 0 / 0.9108 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3135/0.8833, allocations: 106.9 MB / 1.015 GB, free: 203.3 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.53, allocations: 10.64 kB / 1.015 GB, free: 203.3 MB / 0.7605 GB " [Timeout remaining time 648] (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: 14.086867544800043] Failed to read output from testmodel.py, exit status != 0: 11.66971626970917 11.675578758 11.396234479 Calling exit ...