Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.274/2.274, allocations: 391.2 MB / 407 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 191.4 kB / 499.1 MB, free: 4.699 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 222.9 MB / 0.7948 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 107.7 kB / 0.9329 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 54.36 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2589, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.003602/0.2626, allocations: 2.696 MB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001594/0.2642, allocations: 1.309 MB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.035e-05/0.2643, allocations: 4 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.000542/0.2649, allocations: 163.4 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002565/0.2651, allocations: 151.4 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.2654, allocations: 155.7 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.000249/0.2657, allocations: 363 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002629/0.266, allocations: 153.4 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.2661, allocations: 91.62 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.2663, allocations: 123.6 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.2663, allocations: 8 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000206/0.2665, allocations: 195.6 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.585e-05/0.2666, allocations: 67.81 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 6.692e-05/0.2667, allocations: 91.47 kB / 1.224 GB, free: 111.8 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.2669, allocations: 305.1 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2669, allocations: 0 / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 8.62e-07/0.267, allocations: 0 / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.267, allocations: 0 / 1.224 GB, free: 111.5 MB / 0.823 GB 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.0006179/0.2676, allocations: 0.4886 MB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.2676, allocations: 11.98 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004158/0.268, allocations: 72.67 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.2683, allocations: 235.9 kB / 1.225 GB, free: 110.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.248e-06/0.2683, allocations: 12.66 kB / 1.225 GB, free: 110.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.2683, allocations: 12.36 kB / 1.225 GB, free: 110.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003981/0.2687, allocations: 308.9 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.2687, allocations: 0 / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.2688, allocations: 7.938 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/0.2688, allocations: 28.25 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003863/0.2692, allocations: 260.5 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.2704, allocations: 1.498 MB / 1.227 GB, free: 108.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003827/0.2707, allocations: 272.5 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.2709, allocations: 121.6 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.271, allocations: 4 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.33e-05/0.271, allocations: 38.55 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.271, allocations: 0 / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=15): time 0.0006135/0.2716, allocations: 337.4 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.2717, allocations: 77.11 kB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.2718, allocations: 177.2 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.2718, allocations: 29.7 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.56e-05/0.2719, allocations: 140 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.2719, allocations: 55.2 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.72e-05/0.272, allocations: 45.69 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.131e-05/0.272, allocations: 334.8 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.2722, allocations: 104.8 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/0.2724, allocations: 177.5 kB / 1.228 GB, free: 106.3 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003611/0.2728, allocations: 281 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2728, allocations: 3.938 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004253/0.2732, allocations: 305.2 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.2732, allocations: 8 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2732, allocations: 4.219 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.2733, allocations: 4 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.2735, allocations: 55.89 kB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.2735, allocations: 7.938 kB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.2737, allocations: 31.81 kB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.2737, allocations: 8 kB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001985/0.2739, allocations: 200 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001677/0.2741, allocations: 154.5 kB / 1.229 GB, free: 105.2 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003003/0.2744, allocations: 256.9 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.092e-06/0.2744, allocations: 0 / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000388/0.2748, allocations: 283.3 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 7.173e-06/0.2748, allocations: 5.25 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-06/0.2748, allocations: 4 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.767e-06/0.2748, allocations: 7.984 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/0.275, allocations: 51.89 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.275, allocations: 4 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.2752, allocations: 32.08 kB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.2752, allocations: 4 kB / 1.23 GB, free: 104.5 MB / 0.823 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.486e-05/0.2753, allocations: 200.8 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.07e-05/0.2753, allocations: 15.81 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004336/0.2758, allocations: 263 kB / 1.231 GB, free: 104.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.2758, allocations: 0 / 1.231 GB, free: 104.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.257e-06/0.2758, allocations: 4 kB / 1.231 GB, free: 104.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2758, allocations: 7.984 kB / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007689/0.2766, allocations: 0.6771 MB / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2766, allocations: 0 / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.2768, allocations: 52 kB / 1.231 GB, free: 103.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.2768, allocations: 8 kB / 1.231 GB, free: 103.2 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.2768, allocations: 7.938 kB / 1.231 GB, free: 103.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.2769, allocations: 4 kB / 1.231 GB, free: 103.2 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2769, allocations: 0 / 1.231 GB, free: 103.2 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000717/0.2776, allocations: 1.143 MB / 1.232 GB, free: 102 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.418e-05/0.2777, allocations: 105 kB / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.2777, allocations: 4 kB / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.2779, allocations: 19.97 kB / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.835e-05/0.278, allocations: 19.92 kB / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.278, allocations: 12 kB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of sorting global known variables: time 7.055e-05/0.2781, allocations: 139.1 kB / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.61e-07/0.2781, allocations: 0 / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0005894/0.2787, allocations: 87.69 kB / 1.233 GB, free: 101.6 MB / 0.823 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.672e-05/0.2788, allocations: 103.2 kB / 1.233 GB, free: 101.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005717/0.2793, allocations: 375.5 kB / 1.233 GB, free: 101.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2793, allocations: 0 / 1.233 GB, free: 101.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.2795, allocations: 113 kB / 1.233 GB, free: 101 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.28, allocations: 44.66 kB / 1.233 GB, free: 101 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006737/0.2806, allocations: 0.6612 MB / 1.234 GB, free: 100.3 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001808/0.2808, allocations: 0.7519 MB / 1.235 GB, free: 99.49 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001786/0.281, allocations: 73.47 kB / 1.235 GB, free: 99.42 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.71e-05/0.2811, allocations: 19.44 kB / 1.235 GB, free: 99.4 MB / 0.823 GB Notification: Performance of SimCode: time 2.31e-07/0.2811, allocations: 0 / 1.235 GB, free: 99.4 MB / 0.823 GB Notification: Performance of Templates: time 0.00394/0.2851, allocations: 2.225 MB / 1.237 GB, free: 97.19 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)