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.001359/0.001359, allocations: 78.34 kB / 19 MB, free: 2.867 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.001466/0.001466, allocations: 158.7 kB / 22.25 MB, free: 5.133 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.428/1.428, allocations: 177.2 MB / 202.6 MB, free: 9.281 MB / 190.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.002543/0.002543, allocations: 222.7 kB / 259.2 MB, free: 0.6016 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.037/1.037, allocations: 138.5 MB / 454.2 MB, free: 2.012 MB / 366.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.003022/0.003022, allocations: 99.84 kB / 0.6466 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3889, allocations: 95.35 MB / 0.7397 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.RCModel): time 0.006427/0.3953, allocations: 4.237 MB / 0.7438 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003025/0.3983, allocations: 1.8 MB / 0.7456 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.3985, allocations: 15.88 kB / 0.7456 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001718/0.4002, allocations: 0.5954 MB / 0.7462 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005382/0.4007, allocations: 266.6 kB / 0.7464 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005741/0.4013, allocations: 247.4 kB / 0.7467 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007195/0.402, allocations: 0.6112 MB / 0.7473 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000575/0.4026, allocations: 348.3 kB / 0.7476 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000416/0.403, allocations: 359 kB / 0.7479 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004718/0.4035, allocations: 263 kB / 0.7482 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.015e-05/0.4035, allocations: 39.94 kB / 0.7482 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003745/0.4039, allocations: 227.5 kB / 0.7485 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.4041, allocations: 159.5 kB / 0.7486 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000212/0.4043, allocations: 191.1 kB / 0.7488 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000737/0.405, allocations: 0.6109 MB / 0.7494 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.405, allocations: 0 / 0.7494 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.283e-06/0.405, allocations: 4 kB / 0.7494 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.405, allocations: 0 / 0.7494 GB, free: 5.219 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001263/0.4063, allocations: 0.6571 MB / 0.75 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.4063, allocations: 13.34 kB / 0.75 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.4074, allocations: 152.5 kB / 0.7502 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004988/0.4079, allocations: 269.3 kB / 0.7504 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.4079, allocations: 29.36 kB / 0.7505 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.92e-05/0.4079, allocations: 32.38 kB / 0.7505 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009562/0.4089, allocations: 0.694 MB / 0.7512 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.4089, allocations: 0 / 0.7512 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.483e-05/0.409, allocations: 20 kB / 0.7512 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.053e-05/0.409, allocations: 28.64 kB / 0.7512 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006679/0.4097, allocations: 386.3 kB / 0.7516 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00236/0.4121, allocations: 1.676 MB / 0.7532 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005438/0.4126, allocations: 239 kB / 0.7535 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.4128, allocations: 100.8 kB / 0.7536 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.4128, allocations: 4 kB / 0.7536 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.4128, allocations: 38.5 kB / 0.7536 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=20): time 1.533e-06/0.4128, allocations: 0 / 0.7536 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.002193/0.415, allocations: 0.8968 MB / 0.7545 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.4151, allocations: 55.41 kB / 0.7545 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003049/0.4154, allocations: 273.8 kB / 0.7548 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.4154, allocations: 33.7 kB / 0.7548 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.4156, allocations: 240 kB / 0.755 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.551e-05/0.4156, allocations: 83.27 kB / 0.7551 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.4158, allocations: 65.98 kB / 0.7552 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.4159, allocations: 342.8 kB / 0.7555 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.4161, allocations: 104.6 kB / 0.7556 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002529/0.4164, allocations: 187.7 kB / 0.7558 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004492/0.4168, allocations: 317.9 kB / 0.7561 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4168, allocations: 0 / 0.7561 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008316/0.4176, allocations: 439.1 kB / 0.7565 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.4177, allocations: 7.984 kB / 0.7565 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.4177, allocations: 4 kB / 0.7565 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003722/0.418, allocations: 102.4 kB / 0.7566 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002788/0.4183, allocations: 63.84 kB / 0.7567 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003636/0.422, allocations: 4.01 MB / 0.7606 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.4222, allocations: 12 kB / 0.7606 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.4222, allocations: 12 kB / 0.7606 GB, free: 9.004 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.0002079/0.4224, allocations: 180.3 kB / 0.7608 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.749e-05/0.4225, allocations: 31.81 kB / 0.7608 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.51e-05/0.4225, allocations: 42.27 kB / 0.7609 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.4225, allocations: 0 / 0.7609 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.4225, allocations: 12.03 kB / 0.7609 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.4225, allocations: 3.984 kB / 0.7609 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003958/0.4229, allocations: 277.2 kB / 0.7611 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4229, allocations: 0 / 0.7611 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001979/0.4231, allocations: 31.98 kB / 0.7612 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003192/0.4235, allocations: 102.4 kB / 0.7613 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.4235, allocations: 11.94 kB / 0.7613 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003524/0.427, allocations: 3.997 MB / 0.7652 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.427, allocations: 0 / 0.7652 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008745/0.4279, allocations: 0.5475 MB / 0.7657 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.428, allocations: 51.81 kB / 0.7658 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.446e-05/0.428, allocations: 4 kB / 0.7658 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.4282, allocations: 12.22 kB / 0.7658 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.076e-05/0.4283, allocations: 31.83 kB / 0.7658 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.4283, allocations: 8 kB / 0.7658 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002005/0.4285, allocations: 189.2 kB / 0.766 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4285, allocations: 0 / 0.766 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004476/0.4289, allocations: 100 kB / 0.7661 GB, free: 3.023 MB / 0.5919 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.0001302/0.4291, allocations: 103.2 kB / 0.7662 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009269/0.43, allocations: 0.5907 MB / 0.7668 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.43, allocations: 0 / 0.7668 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005585/0.4306, allocations: 464.5 kB / 0.7672 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004693/0.431, allocations: 65.59 kB / 0.7673 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.4323, allocations: 0.7206 MB / 0.768 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.4325, allocations: 228 kB / 0.7682 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001888/0.4327, allocations: 58.92 kB / 0.7683 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.412e-05/0.4328, allocations: 24.5 kB / 0.7683 GB, free: 0.6523 MB / 0.5919 GB Notification: Performance of SimCode: time 5.11e-07/0.4328, allocations: 0 / 0.7683 GB, free: 0.6523 MB / 0.5919 GB Notification: Performance of Templates: time 0.009616/0.4424, allocations: 4.35 MB / 0.7725 GB, free: 12.41 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.001190431416035] Failed to read output from testmodel.py, exit status != 0: 0.4516319967806339 0.466470192 0.058271667000000006 Calling exit ...