Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.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.001424/0.001424, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001929/0.001929, allocations: 155.8 kB / 23.01 MB, free: 4.602 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.389/1.389, allocations: 177.2 MB / 203.4 MB, free: 8.949 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.002491/0.002491, allocations: 237.7 kB / 260 MB, free: 468 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.9146/0.9146, allocations: 138.5 MB / 455 MB, free: 15.07 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.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance") translateModel(BuildingSystems.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance") [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.003112/0.003112, allocations: 102.4 kB / 0.6473 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4077, allocations: 95.35 MB / 0.7404 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.Resistance): time 0.003904/0.4116, allocations: 3.051 MB / 0.7434 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001758/0.4134, allocations: 1.305 MB / 0.7447 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.4135, allocations: 9.438 kB / 0.7447 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009497/0.4145, allocations: 336.7 kB / 0.745 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.000292/0.4147, allocations: 144.6 kB / 0.7452 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003005/0.415, allocations: 135 kB / 0.7453 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003247/0.4154, allocations: 308.8 kB / 0.7456 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003335/0.4157, allocations: 180.3 kB / 0.7458 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.4158, allocations: 132.4 kB / 0.7459 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002731/0.4161, allocations: 137.6 kB / 0.746 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.493e-05/0.4162, allocations: 17.88 kB / 0.746 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002361/0.4164, allocations: 149.7 kB / 0.7462 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 8.984e-05/0.4165, allocations: 78.31 kB / 0.7462 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.4166, allocations: 94.97 kB / 0.7463 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004171/0.417, allocations: 335.2 kB / 0.7467 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.417, allocations: 6.047 kB / 0.7467 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.653e-06/0.417, allocations: 4 kB / 0.7467 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.417, allocations: 0 / 0.7467 GB, free: 13.72 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000657/0.4177, allocations: 454.1 kB / 0.7471 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.4177, allocations: 10.16 kB / 0.7471 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005668/0.4183, allocations: 80.47 kB / 0.7472 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.4185, allocations: 192.9 kB / 0.7474 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.4185, allocations: 12.44 kB / 0.7474 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.889e-05/0.4186, allocations: 21.73 kB / 0.7474 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004034/0.419, allocations: 377.2 kB / 0.7478 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.419, allocations: 1 kB / 0.7478 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.419, allocations: 6.25 kB / 0.7478 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.68e-05/0.419, allocations: 24.73 kB / 0.7478 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002905/0.4193, allocations: 194.6 kB / 0.748 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.4203, allocations: 0.9927 MB / 0.749 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.4206, allocations: 105 kB / 0.7491 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.165e-05/0.4206, allocations: 30.12 kB / 0.7491 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-06/0.4206, allocations: 0.9688 kB / 0.7491 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.327e-05/0.4206, allocations: 37.28 kB / 0.7491 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.4206, allocations: 0 / 0.7491 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=7): time 0.0003906/0.421, allocations: 149 kB / 0.7493 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.663e-05/0.421, allocations: 57.84 kB / 0.7493 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.4212, allocations: 188.4 kB / 0.7495 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.4212, allocations: 26.86 kB / 0.7495 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.65e-05/0.4212, allocations: 176.8 kB / 0.7497 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.364e-05/0.4213, allocations: 18.45 kB / 0.7497 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-05/0.4213, allocations: 40.55 kB / 0.7497 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.927e-05/0.4213, allocations: 328.7 kB / 0.7501 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.728e-05/0.4214, allocations: 33.31 kB / 0.7501 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.142e-05/0.4215, allocations: 103.3 kB / 0.7502 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.4216, allocations: 147.1 kB / 0.7503 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4216, allocations: 1.281 kB / 0.7503 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000254/0.4219, allocations: 185 kB / 0.7505 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.4219, allocations: 6.062 kB / 0.7505 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.4219, allocations: 2.469 kB / 0.7505 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001384/0.422, allocations: 25.31 kB / 0.7505 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.4221, allocations: 28.56 kB / 0.7506 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006711/0.4228, allocations: 1.29 MB / 0.7518 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.4229, allocations: 20.84 kB / 0.7518 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.4229, allocations: 10.73 kB / 0.7519 GB, free: 9.438 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.869e-05/0.423, allocations: 143.8 kB / 0.752 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/0.423, allocations: 14.42 kB / 0.752 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.691e-05/0.4231, allocations: 23.12 kB / 0.752 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.4231, allocations: 1.312 kB / 0.752 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.4231, allocations: 5.094 kB / 0.752 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.4231, allocations: 4.594 kB / 0.752 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003754/0.4235, allocations: 371.8 kB / 0.7524 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4235, allocations: 0 / 0.7524 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.672e-05/0.4235, allocations: 7.812 kB / 0.7524 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.877e-05/0.4236, allocations: 19.64 kB / 0.7524 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.4236, allocations: 8 kB / 0.7524 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005904/0.4242, allocations: 1.293 MB / 0.7537 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4242, allocations: 2.297 kB / 0.7537 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.4243, allocations: 205.7 kB / 0.7539 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.469e-05/0.4244, allocations: 25.62 kB / 0.7539 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.4244, allocations: 4.5 kB / 0.7539 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.4245, allocations: 4.734 kB / 0.7539 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.675e-05/0.4245, allocations: 9.531 kB / 0.7539 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.4245, allocations: 1.906 kB / 0.7539 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.396e-05/0.4246, allocations: 137.6 kB / 0.7541 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.4246, allocations: 1.719 kB / 0.7541 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003295/0.4249, allocations: 52.27 kB / 0.7541 GB, free: 7.402 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.139e-05/0.425, allocations: 98.34 kB / 0.7542 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002948/0.4253, allocations: 210.8 kB / 0.7544 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.4253, allocations: 0 / 0.7544 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.4254, allocations: 148 kB / 0.7546 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.4258, allocations: 26.59 kB / 0.7546 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005012/0.4263, allocations: 355.3 kB / 0.7549 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.4264, allocations: 141.9 kB / 0.755 GB, free: 6.715 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.601e-05/0.4264, allocations: 29.45 kB / 0.7551 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.717e-05/0.4265, allocations: 14.72 kB / 0.7551 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of SimCode: time 3.81e-07/0.4265, allocations: 1.25 kB / 0.7551 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of Templates: time 0.004686/0.4312, allocations: 1.662 MB / 0.7567 GB, free: 6.477 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.775214658002369] Failed to read output from testmodel.py, exit status != 0: 0.43871302099432796 0.44973420900000005 0.029818326000000003 Calling exit ...