Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001348/0.001348, allocations: 105.5 kB / 16.41 MB, free: 6.465 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.001275/0.001275, allocations: 187 kB / 17.34 MB, free: 5.719 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.398/1.398, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002182/0.002183, allocations: 292.7 kB / 291.5 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9462/0.9462, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 103.8 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5161/0.518, allocations: 86.98 MB / 0.767 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004805/0.5229, allocations: 2.627 MB / 0.7696 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002358/0.5253, allocations: 1.309 MB / 0.7709 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001958/0.5255, allocations: 8 kB / 0.7709 GB, free: 15.92 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007925/0.5263, allocations: 183.2 kB / 0.7711 GB, free: 15.74 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004826/0.5268, allocations: 171.1 kB / 0.7712 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004568/0.5273, allocations: 167.6 kB / 0.7714 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004017/0.5277, allocations: 259.2 kB / 0.7716 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000349/0.528, allocations: 145.1 kB / 0.7718 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.5283, allocations: 115.6 kB / 0.7719 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003071/0.5286, allocations: 123.6 kB / 0.772 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.201e-05/0.5286, allocations: 12 kB / 0.772 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002865/0.5289, allocations: 143.7 kB / 0.7722 GB, free: 14.63 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.529, allocations: 63.8 kB / 0.7722 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.5292, allocations: 95.53 kB / 0.7723 GB, free: 14.48 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004593/0.5296, allocations: 293.6 kB / 0.7726 GB, free: 14.19 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5297, allocations: 0 / 0.7726 GB, free: 14.19 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.532e-06/0.5297, allocations: 0 / 0.7726 GB, free: 14.19 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.5297, allocations: 4 kB / 0.7726 GB, free: 14.19 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0009103/0.5306, allocations: 0.4911 MB / 0.7731 GB, free: 13.64 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.5306, allocations: 8.031 kB / 0.7731 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000542/0.5312, allocations: 68.61 kB / 0.7731 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/0.5315, allocations: 242.2 kB / 0.7734 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.5315, allocations: 16.64 kB / 0.7734 GB, free: 13.28 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.5316, allocations: 16.38 kB / 0.7734 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005448/0.5321, allocations: 301.6 kB / 0.7737 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.5322, allocations: 3.938 kB / 0.7737 GB, free: 12.94 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.798e-05/0.5322, allocations: 8 kB / 0.7737 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.178e-05/0.5322, allocations: 32.25 kB / 0.7737 GB, free: 12.9 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005128/0.5328, allocations: 256.6 kB / 0.774 GB, free: 12.65 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/0.5345, allocations: 1.494 MB / 0.7754 GB, free: 11.01 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005056/0.535, allocations: 259.7 kB / 0.7757 GB, free: 10.74 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002368/0.5353, allocations: 129.6 kB / 0.7758 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.5353, allocations: 0 / 0.7758 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.5353, allocations: 42.48 kB / 0.7759 GB, free: 10.56 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.5353, allocations: 0 / 0.7759 GB, free: 10.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.000789/0.5361, allocations: 341.2 kB / 0.7762 GB, free: 10.22 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.5362, allocations: 85.05 kB / 0.7763 GB, free: 10.12 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.5364, allocations: 179.9 kB / 0.7764 GB, free: 9.926 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.5364, allocations: 29.7 kB / 0.7765 GB, free: 9.891 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.583e-05/0.5365, allocations: 144 kB / 0.7766 GB, free: 9.746 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.591e-05/0.5366, allocations: 59.19 kB / 0.7767 GB, free: 9.688 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-05/0.5367, allocations: 49.81 kB / 0.7767 GB, free: 9.633 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.5368, allocations: 326.8 kB / 0.777 GB, free: 9.305 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/0.5371, allocations: 108.8 kB / 0.7771 GB, free: 9.195 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/0.5373, allocations: 163.7 kB / 0.7773 GB, free: 9.008 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004617/0.5378, allocations: 277.6 kB / 0.7775 GB, free: 8.715 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.5378, allocations: 0 / 0.7775 GB, free: 8.715 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005683/0.5384, allocations: 313.1 kB / 0.7778 GB, free: 8.402 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.5384, allocations: 8.219 kB / 0.7778 GB, free: 8.395 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.5384, allocations: 4 kB / 0.7778 GB, free: 8.391 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.5385, allocations: 4 kB / 0.7779 GB, free: 8.387 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002906/0.5388, allocations: 55.89 kB / 0.7779 GB, free: 8.332 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.5388, allocations: 4 kB / 0.7779 GB, free: 8.328 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.539, allocations: 27.81 kB / 0.7779 GB, free: 8.301 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.539, allocations: 12 kB / 0.7779 GB, free: 8.289 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002735/0.5393, allocations: 202.4 kB / 0.7781 GB, free: 8.09 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00022/0.5395, allocations: 155 kB / 0.7783 GB, free: 7.91 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003973/0.5399, allocations: 254.9 kB / 0.7785 GB, free: 7.637 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.663e-06/0.5399, allocations: 0 / 0.7785 GB, free: 7.637 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005038/0.5404, allocations: 277.1 kB / 0.7788 GB, free: 7.359 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.5405, allocations: 10.81 kB / 0.7788 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.5405, allocations: 3.984 kB / 0.7788 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.721e-06/0.5405, allocations: 4 kB / 0.7788 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.5407, allocations: 55.89 kB / 0.7789 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.5407, allocations: 8.25 kB / 0.7789 GB, free: 7.281 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.5409, allocations: 23.89 kB / 0.7789 GB, free: 7.258 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.5409, allocations: 12 kB / 0.7789 GB, free: 7.246 MB / 0.545 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 0.0001375/0.5411, allocations: 200.1 kB / 0.7791 GB, free: 7.043 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.372e-05/0.5411, allocations: 15.81 kB / 0.7791 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005796/0.5417, allocations: 263 kB / 0.7794 GB, free: 6.762 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.5417, allocations: 4 kB / 0.7794 GB, free: 6.758 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.5418, allocations: 4 kB / 0.7794 GB, free: 6.754 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.5418, allocations: 3.984 kB / 0.7794 GB, free: 6.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.5429, allocations: 0.681 MB / 0.78 GB, free: 6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.5429, allocations: 0 / 0.78 GB, free: 6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000229/0.5431, allocations: 56 kB / 0.7801 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.5431, allocations: 0 / 0.7801 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.5431, allocations: 7.938 kB / 0.7801 GB, free: 5.938 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.5432, allocations: 4 kB / 0.7801 GB, free: 5.934 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.5432, allocations: 3.938 kB / 0.7801 GB, free: 5.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005625/0.5437, allocations: 445.9 kB / 0.7805 GB, free: 5.465 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.5438, allocations: 112.9 kB / 0.7806 GB, free: 5.336 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.5439, allocations: 7.938 kB / 0.7807 GB, free: 5.328 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.5441, allocations: 19.97 kB / 0.7807 GB, free: 5.309 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.741e-05/0.5442, allocations: 19.92 kB / 0.7807 GB, free: 5.289 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.5442, allocations: 8 kB / 0.7807 GB, free: 5.281 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000102/0.5443, allocations: 127.8 kB / 0.7808 GB, free: 5.156 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5443, allocations: 3.938 kB / 0.7808 GB, free: 5.152 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004809/0.5448, allocations: 83.78 kB / 0.7809 GB, free: 5.07 MB / 0.545 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 0.0001332/0.5449, allocations: 104.3 kB / 0.781 GB, free: 4.961 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007364/0.5457, allocations: 378.6 kB / 0.7814 GB, free: 4.594 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5457, allocations: 0 / 0.7814 GB, free: 4.594 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002097/0.5459, allocations: 117 kB / 0.7815 GB, free: 4.48 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004817/0.5464, allocations: 42.28 kB / 0.7815 GB, free: 4.441 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008253/0.5472, allocations: 480 kB / 0.782 GB, free: 3.926 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.5476, allocations: 0.7441 MB / 0.7827 GB, free: 3.156 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.592e-05/0.5477, allocations: 23.44 kB / 0.7827 GB, free: 3.133 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.5477, allocations: 0 / 0.7827 GB, free: 3.133 MB / 0.545 GB Notification: Performance of Templates: time 0.004514/0.5522, allocations: 2.595 MB / 0.7853 GB, free: 0.543 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)