Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 95.33 kB / 15.68 MB, free: 488 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.001429/0.001429, allocations: 175.8 kB / 16.56 MB, free: 6.465 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.427/1.427, allocations: 223.2 MB / 240.5 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7222/0.7222, allocations: 113.8 MB / 405.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005299/0.0005301, allocations: 16 kB / 493.1 MB, free: 8.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.1992, allocations: 77.15 MB / 0.5569 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.002876/0.2021, allocations: 2.21 MB / 0.559 GB, free: 9.383 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001865/0.204, allocations: 1.197 MB / 0.5602 GB, free: 8.18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.2041, allocations: 0 / 0.5602 GB, free: 8.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001451/0.2043, allocations: 27.83 kB / 0.5602 GB, free: 8.152 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000374/0.2047, allocations: 111.6 kB / 0.5603 GB, free: 8.043 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003501/0.205, allocations: 131.7 kB / 0.5604 GB, free: 7.914 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.2053, allocations: 151.7 kB / 0.5606 GB, free: 7.766 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005233/0.2058, allocations: 305.9 kB / 0.5609 GB, free: 7.438 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.206, allocations: 67.77 kB / 0.5609 GB, free: 7.371 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002/0.2062, allocations: 83.72 kB / 0.561 GB, free: 7.289 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.2062, allocations: 8 kB / 0.561 GB, free: 7.281 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.2064, allocations: 67.89 kB / 0.5611 GB, free: 7.215 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.157e-05/0.2065, allocations: 59.77 kB / 0.5611 GB, free: 7.156 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.497e-05/0.2065, allocations: 49.64 kB / 0.5612 GB, free: 7.102 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.2067, allocations: 215.8 kB / 0.5614 GB, free: 6.891 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2068, allocations: 4 kB / 0.5614 GB, free: 6.887 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2068, allocations: 4 kB / 0.5614 GB, free: 6.883 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.2068, allocations: 0 / 0.5614 GB, free: 6.883 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007152/0.2075, allocations: 474.8 kB / 0.5619 GB, free: 6.367 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.2075, allocations: 8.031 kB / 0.5619 GB, free: 6.359 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005187/0.2081, allocations: 71.72 kB / 0.5619 GB, free: 6.289 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.2084, allocations: 230.7 kB / 0.5622 GB, free: 6.023 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.2084, allocations: 8.281 kB / 0.5622 GB, free: 6.016 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/0.2084, allocations: 16 kB / 0.5622 GB, free: 6 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000498/0.2089, allocations: 316.8 kB / 0.5625 GB, free: 5.664 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.2089, allocations: 7.953 kB / 0.5625 GB, free: 5.656 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.209, allocations: 8 kB / 0.5625 GB, free: 5.648 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.091e-05/0.209, allocations: 28.25 kB / 0.5625 GB, free: 5.621 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004811/0.2095, allocations: 264.5 kB / 0.5628 GB, free: 5.363 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/0.2111, allocations: 1.518 MB / 0.5643 GB, free: 3.699 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004662/0.2116, allocations: 265.1 kB / 0.5645 GB, free: 3.422 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.2116, allocations: 0 / 0.5645 GB, free: 3.422 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.2117, allocations: 38.5 kB / 0.5645 GB, free: 3.375 MB / 430.1 MB Notification: Performance of pre-optimization done (n=15): time 9.91e-07/0.2117, allocations: 4 kB / 0.5646 GB, free: 3.371 MB / 430.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007437/0.2124, allocations: 349.6 kB / 0.5649 GB, free: 3.023 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.2125, allocations: 89.17 kB / 0.565 GB, free: 2.918 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.2126, allocations: 170.6 kB / 0.5651 GB, free: 2.738 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.2127, allocations: 29.7 kB / 0.5652 GB, free: 2.703 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.006e-05/0.2128, allocations: 136.1 kB / 0.5653 GB, free: 2.566 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.036e-05/0.2128, allocations: 59.19 kB / 0.5653 GB, free: 2.508 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.266e-05/0.2128, allocations: 4 kB / 0.5654 GB, free: 2.504 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.213, allocations: 322.8 kB / 0.5657 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/0.2132, allocations: 107.9 kB / 0.5658 GB, free: 2.074 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.2134, allocations: 167.9 kB / 0.5659 GB, free: 1.887 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.2136, allocations: 131.9 kB / 0.566 GB, free: 1.758 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2137, allocations: 0 / 0.566 GB, free: 1.758 MB / 430.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005229/0.2142, allocations: 326.2 kB / 0.5664 GB, free: 1.434 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002476/0.2144, allocations: 0.7015 MB / 0.567 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.2144, allocations: 7.938 kB / 0.5671 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.2145, allocations: 4 kB / 0.5671 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/0.2147, allocations: 55.89 kB / 0.5671 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.2148, allocations: 7.984 kB / 0.5671 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.215, allocations: 35.83 kB / 0.5672 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.215, allocations: 7.984 kB / 0.5672 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.434e-06/0.215, allocations: 7.953 kB / 0.5672 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004431/0.2154, allocations: 249.7 kB / 0.5674 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-06/0.2155, allocations: 0 / 0.5674 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.669e-06/0.2155, allocations: 4 kB / 0.5674 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.2157, allocations: 55.89 kB / 0.5675 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-06/0.2157, allocations: 0 / 0.5675 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.2158, allocations: 27.89 kB / 0.5675 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.2159, allocations: 12.14 kB / 0.5675 GB, free: 220 kB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001874/0.2161, allocations: 230.9 kB / 0.5677 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.614e-05/0.2161, allocations: 19.77 kB / 0.5677 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005287/0.2167, allocations: 275 kB / 0.568 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/0.2167, allocations: 4 kB / 0.568 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.2167, allocations: 4 kB / 0.568 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.2167, allocations: 7.984 kB / 0.568 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.2177, allocations: 0.6849 MB / 0.5687 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.2177, allocations: 4 kB / 0.5687 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/0.218, allocations: 51.89 kB / 0.5687 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.218, allocations: 4 kB / 0.5687 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.218, allocations: 3.984 kB / 0.5687 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.218, allocations: 4 kB / 0.5688 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.218, allocations: 0 / 0.5688 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005792/0.2186, allocations: 0.52 MB / 0.5693 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.2187, allocations: 120.8 kB / 0.5694 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.285e-05/0.2188, allocations: 3.984 kB / 0.5694 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.219, allocations: 23.98 kB / 0.5694 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.488e-05/0.219, allocations: 11.98 kB / 0.5694 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.2191, allocations: 11.98 kB / 0.5694 GB, free: 14.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001295/0.2192, allocations: 123.2 kB / 0.5695 GB, free: 13.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2192, allocations: 0 / 0.5695 GB, free: 13.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004736/0.2197, allocations: 83.78 kB / 0.5696 GB, free: 13.88 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001196/0.2198, allocations: 111.2 kB / 0.5697 GB, free: 13.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006975/0.2205, allocations: 376.3 kB / 0.5701 GB, free: 13.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.2205, allocations: 4 kB / 0.5701 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000215/0.2207, allocations: 123.7 kB / 0.5702 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.2211, allocations: 40.55 kB / 0.5702 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007731/0.2219, allocations: 0.4948 MB / 0.5707 GB, free: 12.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.2222, allocations: 0.7518 MB / 0.5715 GB, free: 11.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001979/0.2224, allocations: 77.47 kB / 0.5715 GB, free: 11.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.622e-05/0.2225, allocations: 15.44 kB / 0.5716 GB, free: 11.83 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.2225, allocations: 0 / 0.5716 GB, free: 11.83 MB / 446.1 MB Notification: Performance of Templates: time 0.004779/0.2273, allocations: 2.065 MB / 0.5736 GB, free: 9.789 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)