Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.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.001318/0.001318, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001447/0.001447, allocations: 164.3 kB / 23.01 MB, free: 4.598 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.406/1.406, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 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.00249/0.00249, allocations: 226.1 kB / 260 MB, free: 464 kB / 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 0.9324/0.9324, allocations: 138.5 MB / 455 MB, free: 15.08 MB / 430.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: translateModel(BuildingSystems.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel") translateModel(BuildingSystems.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel") [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.003074/0.003074, allocations: 104.1 kB / 0.6473 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4256/0.4286, allocations: 95.34 MB / 0.7404 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.RCModel): time 0.005019/0.4336, allocations: 4.275 MB / 0.7446 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00244/0.4361, allocations: 1.802 MB / 0.7464 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.4363, allocations: 11.47 kB / 0.7464 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001497/0.4377, allocations: 0.6072 MB / 0.747 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0004842/0.4382, allocations: 262 kB / 0.7472 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005268/0.4388, allocations: 254 kB / 0.7475 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005816/0.4393, allocations: 0.6139 MB / 0.7481 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005/0.4398, allocations: 344.5 kB / 0.7484 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.4401, allocations: 268 kB / 0.7486 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004312/0.4405, allocations: 256 kB / 0.7489 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.198e-05/0.4406, allocations: 36.5 kB / 0.7489 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003692/0.441, allocations: 227.4 kB / 0.7491 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.4411, allocations: 160.6 kB / 0.7493 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001765/0.4413, allocations: 181.3 kB / 0.7495 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006613/0.4419, allocations: 0.6089 MB / 0.7501 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.4419, allocations: 3.938 kB / 0.7501 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4419, allocations: 0 / 0.7501 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.318e-05/0.4419, allocations: 3.938 kB / 0.7501 GB, free: 11.8 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001062/0.443, allocations: 0.6563 MB / 0.7507 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.443, allocations: 9.938 kB / 0.7507 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009532/0.444, allocations: 160.3 kB / 0.7509 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004306/0.4444, allocations: 273.3 kB / 0.7511 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.4444, allocations: 27.41 kB / 0.7512 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.126e-05/0.4445, allocations: 31.42 kB / 0.7512 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007274/0.4452, allocations: 0.6879 MB / 0.7519 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.4453, allocations: 5.281 kB / 0.7519 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.938e-05/0.4453, allocations: 16 kB / 0.7519 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-05/0.4453, allocations: 30.27 kB / 0.7519 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005521/0.4459, allocations: 385 kB / 0.7523 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0019/0.4478, allocations: 1.68 MB / 0.7539 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004773/0.4483, allocations: 241.6 kB / 0.7541 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.4484, allocations: 101 kB / 0.7542 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.4484, allocations: 2.219 kB / 0.7542 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.4485, allocations: 33.19 kB / 0.7543 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=20): time 1.633e-06/0.4485, allocations: 0 / 0.7543 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.001918/0.4504, allocations: 0.9033 MB / 0.7552 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.796e-05/0.4504, allocations: 54.41 kB / 0.7552 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/0.4506, allocations: 272.7 kB / 0.7555 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.4506, allocations: 31.08 kB / 0.7555 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.479e-05/0.4507, allocations: 241.7 kB / 0.7557 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.734e-05/0.4508, allocations: 85.23 kB / 0.7558 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.945e-05/0.4509, allocations: 65.52 kB / 0.7559 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.466e-05/0.4509, allocations: 345.5 kB / 0.7562 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.4511, allocations: 103.6 kB / 0.7563 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.4513, allocations: 186 kB / 0.7565 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003464/0.4516, allocations: 319.3 kB / 0.7568 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4516, allocations: 1.344 kB / 0.7568 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006784/0.4523, allocations: 440 kB / 0.7572 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.4523, allocations: 7.094 kB / 0.7572 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.4523, allocations: 2.312 kB / 0.7572 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003389/0.4527, allocations: 92.42 kB / 0.7573 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002741/0.4529, allocations: 68.83 kB / 0.7574 GB, free: 7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002084/0.455, allocations: 4.013 MB / 0.7613 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.4552, allocations: 12 kB / 0.7613 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.4553, allocations: 14.12 kB / 0.7613 GB, free: 3.082 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000148/0.4554, allocations: 176.1 kB / 0.7615 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.52e-05/0.4555, allocations: 29.47 kB / 0.7615 GB, free: 2.914 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.738e-05/0.4555, allocations: 42.27 kB / 0.7616 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.4555, allocations: 9.656 kB / 0.7616 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.4555, allocations: 5.688 kB / 0.7616 GB, free: 2.867 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.4555, allocations: 0 / 0.7616 GB, free: 2.867 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003015/0.4559, allocations: 283.2 kB / 0.7618 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4559, allocations: 1.562 kB / 0.7618 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.456, allocations: 33.7 kB / 0.7619 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002678/0.4563, allocations: 95.31 kB / 0.762 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.4563, allocations: 5.469 kB / 0.762 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002423/0.4587, allocations: 4.005 MB / 0.7659 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4587, allocations: 1.219 kB / 0.7659 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008216/0.4596, allocations: 0.5494 MB / 0.7664 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.4597, allocations: 52.25 kB / 0.7665 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.4597, allocations: 1.844 kB / 0.7665 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.4599, allocations: 18.31 kB / 0.7665 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.46, allocations: 26.77 kB / 0.7665 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.46, allocations: 4.031 kB / 0.7665 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001921/0.4602, allocations: 185.3 kB / 0.7667 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.4602, allocations: 0 / 0.7667 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004681/0.4607, allocations: 99.12 kB / 0.7668 GB, free: 14.04 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001305/0.4608, allocations: 111 kB / 0.7669 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000843/0.4616, allocations: 0.5822 MB / 0.7675 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4616, allocations: 0.6875 kB / 0.7675 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005712/0.4622, allocations: 466.9 kB / 0.7679 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004512/0.4627, allocations: 66.3 kB / 0.768 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.4639, allocations: 0.7274 MB / 0.7687 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.4642, allocations: 221.4 kB / 0.7689 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001714/0.4643, allocations: 57.12 kB / 0.7689 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.174e-05/0.4644, allocations: 22.16 kB / 0.769 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of SimCode: time 3.2e-07/0.4644, allocations: 0 / 0.769 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of Templates: time 0.009237/0.4736, allocations: 4.358 MB / 0.7732 GB, free: 10.22 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.941286714049056] Failed to read output from testmodel.py, exit status != 0: 0.48177132301498204 0.494579645 0.049777054 Calling exit ...