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.0007947/0.0007949, allocations: 88.17 kB / 15.7 MB, free: 460 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.0009345/0.0009347, allocations: 172.2 kB / 16.58 MB, free: 6.852 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.433/1.433, allocations: 223.3 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7421/0.7421, allocations: 115.5 MB / 407.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000665/0.0006651, allocations: 8 kB / 495.2 MB, free: 6.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2189, allocations: 77.52 MB / 0.5593 GB, free: 9.375 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.003229/0.2221, allocations: 2.245 MB / 0.5615 GB, free: 7.117 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.2241, allocations: 1.224 MB / 0.5627 GB, free: 5.887 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.2242, allocations: 11.94 kB / 0.5627 GB, free: 5.875 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001809/0.2244, allocations: 27.78 kB / 0.5628 GB, free: 5.848 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000406/0.2248, allocations: 119.5 kB / 0.5629 GB, free: 5.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003478/0.2252, allocations: 132.6 kB / 0.563 GB, free: 5.602 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003286/0.2255, allocations: 295.1 kB / 0.5633 GB, free: 5.312 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005398/0.2261, allocations: 305.9 kB / 0.5636 GB, free: 4.984 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.2262, allocations: 87.69 kB / 0.5636 GB, free: 4.898 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002432/0.2265, allocations: 115.6 kB / 0.5638 GB, free: 4.785 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.2265, allocations: 8 kB / 0.5638 GB, free: 4.777 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.2267, allocations: 71.88 kB / 0.5638 GB, free: 4.707 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.908e-05/0.2268, allocations: 51.88 kB / 0.5639 GB, free: 4.656 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.114e-05/0.2268, allocations: 57.58 kB / 0.5639 GB, free: 4.594 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.2271, allocations: 215.8 kB / 0.5641 GB, free: 4.383 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2271, allocations: 0 / 0.5641 GB, free: 4.383 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2271, allocations: 0 / 0.5641 GB, free: 4.383 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.2271, allocations: 4 kB / 0.5641 GB, free: 4.379 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.0007328/0.2279, allocations: 470.8 kB / 0.5646 GB, free: 3.867 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.2279, allocations: 8.031 kB / 0.5646 GB, free: 3.859 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000463/0.2284, allocations: 71.72 kB / 0.5647 GB, free: 3.789 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003734/0.2288, allocations: 237.1 kB / 0.5649 GB, free: 3.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.2288, allocations: 12.28 kB / 0.5649 GB, free: 3.508 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.297e-05/0.2288, allocations: 15.98 kB / 0.5649 GB, free: 3.492 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005312/0.2294, allocations: 316.1 kB / 0.5652 GB, free: 3.156 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.2294, allocations: 7.891 kB / 0.5652 GB, free: 3.148 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/0.2294, allocations: 8 kB / 0.5652 GB, free: 3.141 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.696e-05/0.2295, allocations: 24.25 kB / 0.5653 GB, free: 3.117 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004924/0.23, allocations: 264.6 kB / 0.5655 GB, free: 2.859 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/0.2315, allocations: 1.514 MB / 0.567 GB, free: 1.199 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004924/0.2321, allocations: 269 kB / 0.5673 GB, free: 0.918 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002358/0.2323, allocations: 129.6 kB / 0.5674 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.2323, allocations: 4 kB / 0.5674 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.2324, allocations: 34.56 kB / 0.5674 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of pre-optimization done (n=15): time 4.389e-06/0.2324, allocations: 0 / 0.5674 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007677/0.2332, allocations: 364.7 kB / 0.5678 GB, free: 388 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.2332, allocations: 77.11 kB / 0.5678 GB, free: 292 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.2334, allocations: 174.6 kB / 0.568 GB, free: 104 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.2334, allocations: 29.7 kB / 0.568 GB, free: 68 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.2335, allocations: 148 kB / 0.5682 GB, free: 15.92 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.97e-05/0.2336, allocations: 59.19 kB / 0.5682 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.583e-05/0.2336, allocations: 4 kB / 0.5682 GB, free: 15.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.2337, allocations: 322.8 kB / 0.5685 GB, free: 15.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.234, allocations: 107.9 kB / 0.5686 GB, free: 15.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003173/0.2343, allocations: 175.6 kB / 0.5688 GB, free: 15.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.2345, allocations: 124 kB / 0.5689 GB, free: 15.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.2345, allocations: 7.938 kB / 0.5689 GB, free: 15.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005242/0.2351, allocations: 313.2 kB / 0.5692 GB, free: 14.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.541e-05/0.2352, allocations: 144.6 kB / 0.5694 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.2352, allocations: 0 / 0.5694 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.2352, allocations: 4 kB / 0.5694 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/0.2355, allocations: 59.89 kB / 0.5694 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.2355, allocations: 4 kB / 0.5694 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.2357, allocations: 35.81 kB / 0.5695 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/0.2357, allocations: 12 kB / 0.5695 GB, free: 14.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.981e-06/0.2357, allocations: 7.938 kB / 0.5695 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004283/0.2362, allocations: 244.6 kB / 0.5697 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-06/0.2362, allocations: 0 / 0.5697 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.871e-06/0.2362, allocations: 7.953 kB / 0.5697 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/0.2364, allocations: 51.91 kB / 0.5698 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.2364, allocations: 4 kB / 0.5698 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.2366, allocations: 27.88 kB / 0.5698 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.2366, allocations: 12 kB / 0.5698 GB, free: 14.16 MB / 446.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.0001692/0.2368, allocations: 225.1 kB / 0.57 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.371e-05/0.2368, allocations: 15.81 kB / 0.5701 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005233/0.2374, allocations: 284.6 kB / 0.5703 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.2374, allocations: 7.953 kB / 0.5703 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2374, allocations: 4 kB / 0.5703 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.2374, allocations: 0 / 0.5703 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009792/0.2384, allocations: 0.6888 MB / 0.571 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.2384, allocations: 0 / 0.571 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.2386, allocations: 43.95 kB / 0.571 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.2386, allocations: 4 kB / 0.5711 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.2386, allocations: 8 kB / 0.5711 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.2387, allocations: 0 / 0.5711 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.2387, allocations: 7.938 kB / 0.5711 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005298/0.2392, allocations: 459.2 kB / 0.5715 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.2393, allocations: 116.8 kB / 0.5716 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.382e-05/0.2394, allocations: 8 kB / 0.5716 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.2395, allocations: 19.97 kB / 0.5716 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.862e-05/0.2396, allocations: 15.92 kB / 0.5717 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.2396, allocations: 4 kB / 0.5717 GB, free: 12.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001067/0.2397, allocations: 135.2 kB / 0.5718 GB, free: 12.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2398, allocations: 3.938 kB / 0.5718 GB, free: 12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004538/0.2402, allocations: 87.78 kB / 0.5719 GB, free: 11.92 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.0001298/0.2403, allocations: 100.9 kB / 0.572 GB, free: 11.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009004/0.2413, allocations: 387.6 kB / 0.5723 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2413, allocations: 0 / 0.5723 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002206/0.2415, allocations: 120.9 kB / 0.5725 GB, free: 11.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004852/0.242, allocations: 38.19 kB / 0.5725 GB, free: 11.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008986/0.2429, allocations: 0.5048 MB / 0.573 GB, free: 10.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004445/0.2434, allocations: 0.744 MB / 0.5737 GB, free: 9.969 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002213/0.2436, allocations: 73.47 kB / 0.5738 GB, free: 9.898 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.334e-05/0.2437, allocations: 19.44 kB / 0.5738 GB, free: 9.879 MB / 446.1 MB Notification: Performance of SimCode: time 2.956e-06/0.2437, allocations: 0 / 0.5738 GB, free: 9.879 MB / 446.1 MB Notification: Performance of Templates: time 0.006277/0.25, allocations: 2.086 MB / 0.5758 GB, free: 7.816 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)