Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor") translateModel(IBPSA.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001079/0.001079, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008391/0.000839, allocations: 179.3 kB / 16.92 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7002/0.7002, allocations: 115.5 MB / 407.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003272, allocations: 14.44 kB / 495.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1761, allocations: 77.52 MB / 0.56 GB, free: 9.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.Resistor): time 0.004747/0.1809, allocations: 3.475 MB / 0.5633 GB, free: 5.527 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003046/0.184, allocations: 1.699 MB / 0.565 GB, free: 3.82 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001843/0.1842, allocations: 15.88 kB / 0.565 GB, free: 3.805 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002114/0.1844, allocations: 59.56 kB / 0.5651 GB, free: 3.746 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005006/0.1849, allocations: 215 kB / 0.5653 GB, free: 3.535 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004731/0.1854, allocations: 187.6 kB / 0.5655 GB, free: 3.352 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006363/0.1861, allocations: 0.6584 MB / 0.5661 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004434/0.1865, allocations: 322.5 kB / 0.5664 GB, free: 2.363 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.1867, allocations: 155.3 kB / 0.5666 GB, free: 2.211 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003897/0.1871, allocations: 207.2 kB / 0.5668 GB, free: 2.008 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.549e-05/0.1872, allocations: 16 kB / 0.5668 GB, free: 1.992 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004941/0.1877, allocations: 299.3 kB / 0.5671 GB, free: 1.699 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.1878, allocations: 107.7 kB / 0.5672 GB, free: 1.594 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001763/0.188, allocations: 180.9 kB / 0.5673 GB, free: 1.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005361/0.1885, allocations: 0.5021 MB / 0.5678 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1885, allocations: 0 / 0.5678 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1885, allocations: 0 / 0.5678 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.1886, allocations: 4 kB / 0.5678 GB, free: 0.9023 MB / 430.1 MB 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.001046/0.1896, allocations: 0.571 MB / 0.5684 GB, free: 292 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.1897, allocations: 16.03 kB / 0.5684 GB, free: 276 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009206/0.1906, allocations: 132.4 kB / 0.5685 GB, free: 144 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.1909, allocations: 287.7 kB / 0.5688 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.191, allocations: 21.03 kB / 0.5688 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.636e-05/0.191, allocations: 32.36 kB / 0.5689 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006418/0.1917, allocations: 463.9 kB / 0.5693 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1917, allocations: 0 / 0.5693 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.728e-05/0.1917, allocations: 15.98 kB / 0.5693 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-05/0.1918, allocations: 32.55 kB / 0.5693 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005182/0.1923, allocations: 321.9 kB / 0.5696 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00237/0.1947, allocations: 2.197 MB / 0.5718 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000376/0.1951, allocations: 251.8 kB / 0.572 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002499/0.1954, allocations: 112.8 kB / 0.5721 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.1954, allocations: 0 / 0.5721 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.1954, allocations: 38.56 kB / 0.5722 GB, free: 12.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.132e-06/0.1954, allocations: 0 / 0.5722 GB, free: 12.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005773/0.196, allocations: 302.8 kB / 0.5725 GB, free: 11.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.196, allocations: 59.34 kB / 0.5725 GB, free: 11.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/0.1963, allocations: 266.6 kB / 0.5728 GB, free: 11.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.1963, allocations: 29.7 kB / 0.5728 GB, free: 11.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.1965, allocations: 211.8 kB / 0.573 GB, free: 11.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.776e-05/0.1965, allocations: 47.3 kB / 0.5731 GB, free: 11.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.742e-05/0.1966, allocations: 25.7 kB / 0.5731 GB, free: 11.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1967, allocations: 338.8 kB / 0.5734 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.1968, allocations: 60.44 kB / 0.5735 GB, free: 10.69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.197, allocations: 141.7 kB / 0.5736 GB, free: 10.51 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002663/0.1972, allocations: 215 kB / 0.5738 GB, free: 10.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-05/0.1973, allocations: 7.922 kB / 0.5738 GB, free: 10.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004213/0.1977, allocations: 272 kB / 0.5741 GB, free: 9.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.1978, allocations: 4 kB / 0.5741 GB, free: 9.977 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.1978, allocations: 4.062 kB / 0.5741 GB, free: 9.973 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001495/0.1979, allocations: 32.84 kB / 0.5741 GB, free: 9.938 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.1981, allocations: 47.91 kB / 0.5741 GB, free: 9.891 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001231/0.1994, allocations: 1.323 MB / 0.5754 GB, free: 8.434 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.1995, allocations: 31.67 kB / 0.5755 GB, free: 8.402 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.1996, allocations: 8 kB / 0.5755 GB, free: 8.395 MB / 446.1 MB 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.0001632/0.1997, allocations: 169.9 kB / 0.5756 GB, free: 8.219 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.088e-05/0.1998, allocations: 27.66 kB / 0.5757 GB, free: 8.191 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.89e-05/0.1998, allocations: 25.84 kB / 0.5757 GB, free: 8.168 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1999, allocations: 3.984 kB / 0.5757 GB, free: 8.164 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.1999, allocations: 0 / 0.5757 GB, free: 8.164 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1999, allocations: 0 / 0.5757 GB, free: 8.164 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008648/0.2007, allocations: 0.7063 MB / 0.5764 GB, free: 7.367 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.2008, allocations: 0 / 0.5764 GB, free: 7.367 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.552e-05/0.2009, allocations: 27.92 kB / 0.5764 GB, free: 7.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.246e-05/0.2009, allocations: 29.03 kB / 0.5764 GB, free: 7.309 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.201, allocations: 0 / 0.5764 GB, free: 7.309 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009913/0.202, allocations: 1.319 MB / 0.5777 GB, free: 5.859 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.202, allocations: 4 kB / 0.5777 GB, free: 5.855 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004683/0.2024, allocations: 317.1 kB / 0.578 GB, free: 5.508 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.662e-05/0.2026, allocations: 116.8 kB / 0.5781 GB, free: 5.375 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.2026, allocations: 4 kB / 0.5782 GB, free: 5.371 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.2027, allocations: 12 kB / 0.5782 GB, free: 5.359 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.198e-05/0.2028, allocations: 15.92 kB / 0.5782 GB, free: 5.344 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.2028, allocations: 12 kB / 0.5782 GB, free: 5.332 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002385/0.2031, allocations: 190 kB / 0.5784 GB, free: 5.152 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2031, allocations: 0 / 0.5784 GB, free: 5.152 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003965/0.2035, allocations: 79.72 kB / 0.5784 GB, free: 5.074 MB / 446.1 MB 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.0001089/0.2036, allocations: 103.2 kB / 0.5785 GB, free: 4.961 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004261/0.204, allocations: 271.5 kB / 0.5788 GB, free: 4.684 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.204, allocations: 96 / 0.5788 GB, free: 4.684 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.2042, allocations: 190.5 kB / 0.579 GB, free: 4.484 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004954/0.2047, allocations: 59.67 kB / 0.579 GB, free: 4.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008532/0.2056, allocations: 0.6693 MB / 0.5797 GB, free: 3.711 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005583/0.2062, allocations: 0.7912 MB / 0.5805 GB, free: 2.895 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001455/0.2063, allocations: 50.23 kB / 0.5805 GB, free: 2.848 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.689e-05/0.2064, allocations: 19.44 kB / 0.5805 GB, free: 2.828 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2064, allocations: 3.938 kB / 0.5805 GB, free: 2.824 MB / 446.1 MB Notification: Performance of Templates: time 0.00634/0.2127, allocations: 2.553 MB / 0.583 GB, free: 312 kB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)