Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.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.001017/0.001017, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00148/0.002497, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001088/0.001088, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001462/0.00255, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9023/0.9023, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08833/0.9906, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.876/1.876, allocations: 389.9 MB / 0.619 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4363/2.313, allocations: 127.1 MB / 0.7432 GB, free: 4.641 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.7444 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.046e-05/1.19e-05, allocations: 2.312 kB / 0.7445 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.004363/0.004375, allocations: 3.05 MB / 0.7474 GB, free: 364 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001878/0.006253, allocations: 1.17 MB / 0.7486 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001494/0.006403, allocations: 7.938 kB / 0.7486 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004444/0.006847, allocations: 144.7 kB / 0.7487 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000377/0.007224, allocations: 228.2 kB / 0.7489 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.007535, allocations: 156.8 kB / 0.7491 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005505/0.008086, allocations: 0.526 MB / 0.7496 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003925/0.008478, allocations: 276.1 kB / 0.7499 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003608/0.008839, allocations: 316.7 kB / 0.7502 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004097/0.009249, allocations: 215.4 kB / 0.7504 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.117e-05/0.0093, allocations: 32 kB / 0.7504 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002143/0.009514, allocations: 105.8 kB / 0.7505 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.009632, allocations: 115.7 kB / 0.7506 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.009755, allocations: 99.81 kB / 0.7507 GB, free: 13 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004015/0.01016, allocations: 302.9 kB / 0.751 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.423e-05/0.01017, allocations: 0 / 0.751 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.22e-07/0.01017, allocations: 2.438 kB / 0.751 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.78e-05/0.01019, allocations: 0 / 0.751 GB, free: 12.71 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.000646/0.01084, allocations: 0.5893 MB / 0.7516 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.667e-05/0.01086, allocations: 8.031 kB / 0.7516 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005427/0.0114, allocations: 260.9 kB / 0.7518 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.01163, allocations: 226.7 kB / 0.752 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.01165, allocations: 21.03 kB / 0.7521 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.01167, allocations: 28.88 kB / 0.7521 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003176/0.01199, allocations: 435.2 kB / 0.7525 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.01201, allocations: 0.9375 kB / 0.7525 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.01203, allocations: 12.38 kB / 0.7525 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/0.01206, allocations: 34.7 kB / 0.7526 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.01218, allocations: 100.4 kB / 0.7526 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009315/0.01311, allocations: 1.33 MB / 0.7539 GB, free: 9.512 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.01327, allocations: 95.86 kB / 0.754 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.584e-05/0.01335, allocations: 57.06 kB / 0.7541 GB, free: 9.352 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.196e-06/0.01336, allocations: 7.984 kB / 0.7541 GB, free: 9.344 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.01338, allocations: 34.56 kB / 0.7541 GB, free: 9.301 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 1.112e-06/0.01338, allocations: 0.75 kB / 0.7541 GB, free: 9.301 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.0002538/0.01364, allocations: 123.6 kB / 0.7543 GB, free: 9.172 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.01366, allocations: 55.41 kB / 0.7543 GB, free: 9.105 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.01378, allocations: 211.9 kB / 0.7545 GB, free: 8.887 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.01379, allocations: 29.7 kB / 0.7545 GB, free: 8.852 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.46e-05/0.01387, allocations: 205 kB / 0.7547 GB, free: 8.648 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.0139, allocations: 55.52 kB / 0.7548 GB, free: 8.594 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-05/0.01394, allocations: 47.17 kB / 0.7548 GB, free: 8.539 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.1e-05/0.01403, allocations: 326.8 kB / 0.7551 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.435e-05/0.01405, allocations: 20.45 kB / 0.7552 GB, free: 8.191 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.516e-05/0.01412, allocations: 112.8 kB / 0.7553 GB, free: 8.043 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.01422, allocations: 151.6 kB / 0.7554 GB, free: 7.859 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.01423, allocations: 4.906 kB / 0.7554 GB, free: 7.855 MB / 0.7292 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001538/0.01438, allocations: 157.2 kB / 0.7556 GB, free: 7.695 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.01439, allocations: 11.94 kB / 0.7556 GB, free: 7.684 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.0144, allocations: 0 / 0.7556 GB, free: 7.684 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001315/0.01453, allocations: 42.7 kB / 0.7556 GB, free: 7.641 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.01464, allocations: 57.03 kB / 0.7557 GB, free: 7.586 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005704/0.01521, allocations: 1.194 MB / 0.7568 GB, free: 6.301 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.4e-05/0.01529, allocations: 15.89 kB / 0.7569 GB, free: 6.285 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.0153, allocations: 11.94 kB / 0.7569 GB, free: 6.273 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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 7.513e-05/0.01537, allocations: 129.7 kB / 0.757 GB, free: 6.137 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.0154, allocations: 19.98 kB / 0.757 GB, free: 6.117 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.091e-05/0.01542, allocations: 21.45 kB / 0.757 GB, free: 6.102 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.01542, allocations: 4.938 kB / 0.757 GB, free: 6.098 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.01542, allocations: 0 / 0.757 GB, free: 6.098 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.01543, allocations: 0 / 0.757 GB, free: 6.098 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004189/0.01585, allocations: 0.5824 MB / 0.7576 GB, free: 5.461 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01585, allocations: 0 / 0.7576 GB, free: 5.461 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.567e-05/0.0159, allocations: 29.25 kB / 0.7576 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.444e-05/0.01594, allocations: 31.78 kB / 0.7577 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.951e-05/0.01602, allocations: 35.36 kB / 0.7577 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.01603, allocations: 8 kB / 0.7577 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004933/0.01652, allocations: 1.191 MB / 0.7589 GB, free: 4.066 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.01652, allocations: 4.875 kB / 0.7589 GB, free: 4.062 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.01668, allocations: 290.4 kB / 0.7591 GB, free: 3.738 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.0167, allocations: 11.98 kB / 0.7592 GB, free: 3.727 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.059e-05/0.01677, allocations: 5.031 kB / 0.7592 GB, free: 3.723 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.253e-05/0.01679, allocations: 23.86 kB / 0.7592 GB, free: 3.699 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.01679, allocations: 4.938 kB / 0.7592 GB, free: 3.695 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.793e-05/0.01684, allocations: 71.16 kB / 0.7593 GB, free: 3.625 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.01684, allocations: 0.5625 kB / 0.7593 GB, free: 3.625 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002102/0.01705, allocations: 79.78 kB / 0.7593 GB, free: 3.547 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * 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 6.467e-05/0.01712, allocations: 87.22 kB / 0.7594 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002134/0.01733, allocations: 220.8 kB / 0.7596 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.01734, allocations: 0 / 0.7596 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.619e-05/0.01742, allocations: 155.4 kB / 0.7598 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.01766, allocations: 80.12 kB / 0.7599 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.01962, allocations: 0.5601 MB / 0.7604 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.361e-05/0.01968, allocations: 108.9 kB / 0.7605 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.657e-05/0.01975, allocations: 23.47 kB / 0.7605 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.01985, allocations: 95.36 kB / 0.7606 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of SimCode: time 5.11e-07/0.01985, allocations: 3.938 kB / 0.7606 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of Templates: time 0.004218/0.02407, allocations: 2.728 MB / 0.7633 GB, free: 15.57 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.680046062916517]