Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001893/0.001892, allocations: 190.2 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.488/1.488, allocations: 251.6 MB / 0.5089 GB, free: 3.344 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 63.91 kB / 0.6217 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5848/0.5868, allocations: 104.7 MB / 0.724 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.008732/0.5956, allocations: 3.847 MB / 0.7278 GB, free: 9.227 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004897/0.6006, allocations: 1.734 MB / 0.7294 GB, free: 7.48 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005231/0.6012, allocations: 8 kB / 0.7295 GB, free: 7.473 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002083/0.6035, allocations: 462.5 kB / 0.7299 GB, free: 7.02 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009515/0.6044, allocations: 211.1 kB / 0.7301 GB, free: 6.812 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.6055, allocations: 191 kB / 0.7303 GB, free: 6.629 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008081/0.6063, allocations: 486.3 kB / 0.7307 GB, free: 6.152 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009797/0.6073, allocations: 395.1 kB / 0.7311 GB, free: 5.766 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004677/0.6078, allocations: 191.4 kB / 0.7313 GB, free: 5.578 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006995/0.6085, allocations: 227.1 kB / 0.7315 GB, free: 5.355 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.722e-05/0.6086, allocations: 36 kB / 0.7316 GB, free: 5.32 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007115/0.6093, allocations: 247.5 kB / 0.7318 GB, free: 5.078 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002121/0.6095, allocations: 115.7 kB / 0.7319 GB, free: 4.965 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002666/0.6098, allocations: 175.1 kB / 0.7321 GB, free: 4.793 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.6108, allocations: 0.5218 MB / 0.7326 GB, free: 4.27 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.6109, allocations: 0 / 0.7326 GB, free: 4.27 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.055e-06/0.6109, allocations: 0 / 0.7326 GB, free: 4.27 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.882e-05/0.6109, allocations: 0 / 0.7326 GB, free: 4.27 MB / 0.545 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.001548/0.6125, allocations: 0.6315 MB / 0.7332 GB, free: 3.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.6125, allocations: 8.031 kB / 0.7332 GB, free: 3.582 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.6136, allocations: 136.3 kB / 0.7333 GB, free: 3.449 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000457/0.6141, allocations: 279.7 kB / 0.7336 GB, free: 3.137 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.6141, allocations: 25.02 kB / 0.7336 GB, free: 3.113 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.94e-05/0.6142, allocations: 28.38 kB / 0.7336 GB, free: 3.086 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007543/0.615, allocations: 471.9 kB / 0.7341 GB, free: 2.586 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.615, allocations: 0 / 0.7341 GB, free: 2.586 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.615, allocations: 16 kB / 0.7341 GB, free: 2.57 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.164e-05/0.6151, allocations: 24.55 kB / 0.7341 GB, free: 2.547 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005372/0.6156, allocations: 325.9 kB / 0.7344 GB, free: 2.227 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002503/0.6181, allocations: 2.193 MB / 0.7366 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003716/0.6185, allocations: 255.7 kB / 0.7368 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/0.6188, allocations: 112.8 kB / 0.7369 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.6188, allocations: 0 / 0.7369 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.6188, allocations: 34.81 kB / 0.737 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.6188, allocations: 0 / 0.737 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0006047/0.6195, allocations: 303.2 kB / 0.7373 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.6195, allocations: 55.41 kB / 0.7373 GB, free: 15 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.6198, allocations: 270.5 kB / 0.7376 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.6198, allocations: 25.7 kB / 0.7376 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.62, allocations: 203.8 kB / 0.7378 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.305e-05/0.62, allocations: 51.28 kB / 0.7378 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.974e-05/0.6201, allocations: 49.86 kB / 0.7379 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.6203, allocations: 334.8 kB / 0.7382 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.6204, allocations: 64.53 kB / 0.7383 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.6206, allocations: 141.4 kB / 0.7384 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/0.6209, allocations: 218.9 kB / 0.7386 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.6209, allocations: 0 / 0.7386 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004437/0.6213, allocations: 273.2 kB / 0.7389 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.6214, allocations: 7.938 kB / 0.7389 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.6214, allocations: 4 kB / 0.7389 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001715/0.6216, allocations: 24.84 kB / 0.7389 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.6218, allocations: 47.92 kB / 0.739 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/0.623, allocations: 1.422 MB / 0.7403 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/0.6233, allocations: 35.75 kB / 0.7404 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.6233, allocations: 12 kB / 0.7404 GB, free: 11.59 MB / 0.5606 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 0.0001769/0.6235, allocations: 170.6 kB / 0.7405 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.383e-05/0.6235, allocations: 15.81 kB / 0.7406 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.364e-05/0.6236, allocations: 29.83 kB / 0.7406 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/0.6236, allocations: 4 kB / 0.7406 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.6236, allocations: 0 / 0.7406 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.6236, allocations: 0 / 0.7406 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008661/0.6245, allocations: 0.7063 MB / 0.7413 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.6245, allocations: 192 / 0.7413 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.239e-05/0.6246, allocations: 27.98 kB / 0.7413 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.602e-05/0.6247, allocations: 28.78 kB / 0.7413 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.6247, allocations: 8.062 kB / 0.7413 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001/0.6257, allocations: 1.41 MB / 0.7427 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.6257, allocations: 11.95 kB / 0.7427 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.6261, allocations: 313.1 kB / 0.743 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.6262, allocations: 116.8 kB / 0.7431 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.6262, allocations: 8 kB / 0.7432 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.6264, allocations: 11.98 kB / 0.7432 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.6264, allocations: 19.92 kB / 0.7432 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.6264, allocations: 4 kB / 0.7432 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001719/0.6266, allocations: 194 kB / 0.7434 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6266, allocations: 0 / 0.7434 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003923/0.627, allocations: 71.84 kB / 0.7434 GB, free: 8.16 MB / 0.5606 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 0.0001685/0.6272, allocations: 111.1 kB / 0.7435 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004996/0.6277, allocations: 282.5 kB / 0.7438 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.6277, allocations: 0.75 kB / 0.7438 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002181/0.6279, allocations: 190.5 kB / 0.744 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.6284, allocations: 45.09 kB / 0.744 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.6295, allocations: 0.6649 MB / 0.7447 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.6299, allocations: 0.7909 MB / 0.7455 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001955/0.6301, allocations: 46.25 kB / 0.7455 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.491e-05/0.6301, allocations: 19.44 kB / 0.7455 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.6301, allocations: 0 / 0.7455 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of Templates: time 0.006876/0.637, allocations: 2.696 MB / 0.7482 GB, free: 3.258 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)