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.004254/0.004254, allocations: 101.9 kB / 15.73 MB, free: 6.062 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.001011/0.001011, allocations: 192.1 kB / 16.67 MB, free: 5.973 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002034/0.002034, allocations: 289.1 kB / 290.8 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.9339/0.9339, allocations: 169.3 MB / 0.4983 GB, free: 4.387 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001677, allocations: 91.86 kB / 0.6814 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.3982, allocations: 86.99 MB / 0.7664 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.003948/0.4022, allocations: 2.639 MB / 0.769 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002107/0.4043, allocations: 1.305 MB / 0.7702 GB, free: 15.89 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.4045, allocations: 4 kB / 0.7702 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006956/0.4052, allocations: 175.2 kB / 0.7704 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004271/0.4057, allocations: 171.2 kB / 0.7706 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004064/0.4061, allocations: 161.7 kB / 0.7707 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003658/0.4065, allocations: 263.2 kB / 0.771 GB, free: 15.13 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003295/0.4068, allocations: 141.3 kB / 0.7711 GB, free: 15 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002052/0.407, allocations: 111.6 kB / 0.7712 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002927/0.4073, allocations: 123.6 kB / 0.7713 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.727e-05/0.4074, allocations: 12 kB / 0.7713 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002751/0.4076, allocations: 147.7 kB / 0.7715 GB, free: 14.61 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.298e-05/0.4077, allocations: 63.8 kB / 0.7715 GB, free: 14.55 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.4079, allocations: 91.55 kB / 0.7716 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004111/0.4083, allocations: 300.7 kB / 0.7719 GB, free: 14.17 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.4083, allocations: 0 / 0.7719 GB, free: 14.17 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.313e-06/0.4083, allocations: 0 / 0.7719 GB, free: 14.17 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.363e-06/0.4083, allocations: 0 / 0.7719 GB, free: 14.17 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.0008197/0.4091, allocations: 0.4947 MB / 0.7724 GB, free: 13.62 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.4092, allocations: 8.031 kB / 0.7724 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005274/0.4097, allocations: 72.72 kB / 0.7725 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002992/0.41, allocations: 250.8 kB / 0.7727 GB, free: 13.26 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.41, allocations: 16.59 kB / 0.7727 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/0.4101, allocations: 12.38 kB / 0.7727 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005238/0.4106, allocations: 309.6 kB / 0.773 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.4106, allocations: 0 / 0.773 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.613e-05/0.4107, allocations: 11.98 kB / 0.7731 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.369e-05/0.4107, allocations: 24.27 kB / 0.7731 GB, free: 12.87 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005068/0.4113, allocations: 260.6 kB / 0.7733 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001666/0.4129, allocations: 1.502 MB / 0.7748 GB, free: 10.97 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004927/0.4134, allocations: 253 kB / 0.775 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.4137, allocations: 133.6 kB / 0.7752 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.4137, allocations: 0 / 0.7752 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.4137, allocations: 42.5 kB / 0.7752 GB, free: 10.52 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.042e-06/0.4137, allocations: 0 / 0.7752 GB, free: 10.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.000796/0.4145, allocations: 337.3 kB / 0.7755 GB, free: 10.18 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.418e-05/0.4146, allocations: 92.98 kB / 0.7756 GB, free: 10.07 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.4148, allocations: 172 kB / 0.7758 GB, free: 9.887 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.4149, allocations: 33.83 kB / 0.7758 GB, free: 9.848 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.938e-05/0.415, allocations: 152.2 kB / 0.776 GB, free: 9.695 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/0.415, allocations: 47.59 kB / 0.776 GB, free: 9.648 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.4152, allocations: 49.66 kB / 0.776 GB, free: 9.594 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.4153, allocations: 326.8 kB / 0.7764 GB, free: 9.266 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000221/0.4155, allocations: 108.8 kB / 0.7765 GB, free: 9.156 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.4158, allocations: 163.7 kB / 0.7766 GB, free: 8.969 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004791/0.4163, allocations: 281.8 kB / 0.7769 GB, free: 8.672 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.4163, allocations: 4 kB / 0.7769 GB, free: 8.668 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005635/0.4168, allocations: 305.3 kB / 0.7772 GB, free: 8.363 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.4169, allocations: 6.5 kB / 0.7772 GB, free: 8.359 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.4169, allocations: 4 kB / 0.7772 GB, free: 8.355 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.4169, allocations: 4 kB / 0.7772 GB, free: 8.352 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002868/0.4172, allocations: 55.88 kB / 0.7772 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.4172, allocations: 4 kB / 0.7773 GB, free: 8.293 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.4174, allocations: 35.81 kB / 0.7773 GB, free: 8.258 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.018e-05/0.4175, allocations: 12.22 kB / 0.7773 GB, free: 8.246 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002639/0.4177, allocations: 198.4 kB / 0.7775 GB, free: 8.051 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002263/0.418, allocations: 160.3 kB / 0.7776 GB, free: 7.863 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003891/0.4184, allocations: 255.5 kB / 0.7779 GB, free: 7.586 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.663e-06/0.4184, allocations: 0 / 0.7779 GB, free: 7.586 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005278/0.4189, allocations: 268.4 kB / 0.7781 GB, free: 7.32 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.4189, allocations: 8 kB / 0.7781 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.4189, allocations: 256 / 0.7781 GB, free: 7.312 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.883e-06/0.419, allocations: 11.98 kB / 0.7782 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.4192, allocations: 47.91 kB / 0.7782 GB, free: 7.254 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.4192, allocations: 4 kB / 0.7782 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.4194, allocations: 31.86 kB / 0.7782 GB, free: 7.219 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.4194, allocations: 12 kB / 0.7783 GB, free: 7.207 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.0001166/0.4195, allocations: 192.1 kB / 0.7784 GB, free: 7.012 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.278e-05/0.4196, allocations: 15.91 kB / 0.7784 GB, free: 6.996 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005337/0.4201, allocations: 278.8 kB / 0.7787 GB, free: 6.715 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.4201, allocations: 4 kB / 0.7787 GB, free: 6.711 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.4201, allocations: 4 kB / 0.7787 GB, free: 6.707 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4201, allocations: 3.938 kB / 0.7787 GB, free: 6.703 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.4212, allocations: 0.6811 MB / 0.7794 GB, free: 5.953 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.4212, allocations: 0 / 0.7794 GB, free: 5.953 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.4214, allocations: 47.95 kB / 0.7794 GB, free: 5.906 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.4214, allocations: 0 / 0.7794 GB, free: 5.906 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.4214, allocations: 7.938 kB / 0.7794 GB, free: 5.898 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.4215, allocations: 4 kB / 0.7794 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.4215, allocations: 3.938 kB / 0.7795 GB, free: 5.891 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005337/0.422, allocations: 446.1 kB / 0.7799 GB, free: 5.426 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.4221, allocations: 117 kB / 0.78 GB, free: 5.293 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.305e-05/0.4222, allocations: 7.938 kB / 0.78 GB, free: 5.285 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.4224, allocations: 23.97 kB / 0.78 GB, free: 5.262 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.872e-05/0.4224, allocations: 23.84 kB / 0.78 GB, free: 5.238 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.4225, allocations: 4 kB / 0.78 GB, free: 5.234 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001061/0.4226, allocations: 127.8 kB / 0.7802 GB, free: 5.109 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4226, allocations: 0 / 0.7802 GB, free: 5.109 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004846/0.4231, allocations: 83.84 kB / 0.7802 GB, free: 5.027 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.0001245/0.4232, allocations: 116.2 kB / 0.7804 GB, free: 4.906 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007308/0.4239, allocations: 366.3 kB / 0.7807 GB, free: 4.551 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.424, allocations: 0.9375 kB / 0.7807 GB, free: 4.551 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002278/0.4242, allocations: 128.1 kB / 0.7808 GB, free: 4.426 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004726/0.4247, allocations: 45.89 kB / 0.7809 GB, free: 4.387 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008418/0.4255, allocations: 446 kB / 0.7813 GB, free: 3.91 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.4259, allocations: 0.744 MB / 0.782 GB, free: 3.141 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002078/0.4261, allocations: 73.47 kB / 0.7821 GB, free: 3.07 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.394e-05/0.4262, allocations: 19.44 kB / 0.7821 GB, free: 3.051 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.4262, allocations: 0 / 0.7821 GB, free: 3.051 MB / 0.545 GB Notification: Performance of Templates: time 0.005465/0.4317, allocations: 2.346 MB / 0.7844 GB, free: 0.7188 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)