Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.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.001171/0.001171, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.01285/0.01285, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.938/1.938, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.851/1.851, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005989/0.0005991, allocations: 16.44 kB / 0.6743 GB, free: 25.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2607, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.003137/0.2639, allocations: 2.341 MB / 0.7902 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002652/0.2665, allocations: 1.326 MB / 0.7915 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001937/0.2668, allocations: 0 / 0.7915 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.267, allocations: 27.78 kB / 0.7915 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006585/0.2677, allocations: 167.4 kB / 0.7917 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005513/0.2683, allocations: 151.8 kB / 0.7918 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000425/0.2687, allocations: 367 kB / 0.7922 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005223/0.2692, allocations: 305.9 kB / 0.7924 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001915/0.2694, allocations: 91.56 kB / 0.7925 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.2697, allocations: 123.5 kB / 0.7926 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.2698, allocations: 8 kB / 0.7927 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002863/0.27, allocations: 191.6 kB / 0.7928 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.396e-05/0.2701, allocations: 55.81 kB / 0.7929 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.2702, allocations: 109.2 kB / 0.793 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003465/0.2706, allocations: 291.3 kB / 0.7933 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.2706, allocations: 4 kB / 0.7933 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2706, allocations: 0 / 0.7933 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.2706, allocations: 0 / 0.7933 GB, free: 5.98 MB / 0.6075 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.0007623/0.2714, allocations: 467 kB / 0.7937 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.2714, allocations: 12.03 kB / 0.7937 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004931/0.2719, allocations: 64.67 kB / 0.7938 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.2722, allocations: 239.9 kB / 0.794 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.2722, allocations: 12.66 kB / 0.794 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.2723, allocations: 16.31 kB / 0.7941 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005052/0.2728, allocations: 317.4 kB / 0.7944 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.2728, allocations: 3.938 kB / 0.7944 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.754e-05/0.2728, allocations: 11.98 kB / 0.7944 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.391e-05/0.2729, allocations: 24.27 kB / 0.7944 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005823/0.2735, allocations: 272.6 kB / 0.7947 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/0.275, allocations: 1.501 MB / 0.7961 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004596/0.2754, allocations: 265 kB / 0.7964 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003083/0.2758, allocations: 145.6 kB / 0.7965 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.885e-05/0.2758, allocations: 3.984 kB / 0.7965 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.2758, allocations: 34.56 kB / 0.7965 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/0.2758, allocations: 0 / 0.7965 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0007302/0.2766, allocations: 356.5 kB / 0.7969 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.2766, allocations: 77.11 kB / 0.797 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.2768, allocations: 179.1 kB / 0.7971 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.2768, allocations: 33.67 kB / 0.7972 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.922e-05/0.2769, allocations: 140.1 kB / 0.7973 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.139e-05/0.2769, allocations: 55.2 kB / 0.7974 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.929e-05/0.277, allocations: 17.72 kB / 0.7974 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.991e-05/0.2771, allocations: 330.8 kB / 0.7977 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.2773, allocations: 107.9 kB / 0.7978 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002437/0.2775, allocations: 171.6 kB / 0.798 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005399/0.2781, allocations: 297.5 kB / 0.7982 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.2781, allocations: 0 / 0.7982 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005446/0.2787, allocations: 329.2 kB / 0.7985 GB, free: 180 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.386e-05/0.2788, allocations: 139.1 kB / 0.7987 GB, free: 12 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2788, allocations: 0 / 0.7987 GB, free: 12 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.2788, allocations: 4 kB / 0.7987 GB, free: 8 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/0.2791, allocations: 55.89 kB / 0.7987 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.2791, allocations: 7.938 kB / 0.7987 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.2793, allocations: 35.81 kB / 0.7988 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.2793, allocations: 8 kB / 0.7988 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.095e-06/0.2793, allocations: 4 kB / 0.7988 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004393/0.2798, allocations: 250 kB / 0.799 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.2798, allocations: 4 kB / 0.799 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.045e-06/0.2798, allocations: 4.219 kB / 0.799 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.28, allocations: 55.91 kB / 0.7991 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.28, allocations: 4 kB / 0.7991 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/0.2803, allocations: 31.81 kB / 0.7991 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.2803, allocations: 8 kB / 0.7991 GB, free: 15.55 MB / 0.6231 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.0001423/0.2804, allocations: 221.6 kB / 0.7993 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.616e-05/0.2805, allocations: 19.81 kB / 0.7994 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00052/0.281, allocations: 279 kB / 0.7996 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.281, allocations: 0 / 0.7996 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.2811, allocations: 7.938 kB / 0.7996 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2811, allocations: 0 / 0.7996 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009748/0.282, allocations: 0.6889 MB / 0.8003 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.2821, allocations: 8.125 kB / 0.8003 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/0.2823, allocations: 51.88 kB / 0.8004 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.736e-06/0.2823, allocations: 4 kB / 0.8004 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.2824, allocations: 4 kB / 0.8004 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/0.2824, allocations: 7.938 kB / 0.8004 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.2824, allocations: 0 / 0.8004 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006465/0.283, allocations: 461.8 kB / 0.8008 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.207e-05/0.2831, allocations: 120.8 kB / 0.8009 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.2832, allocations: 4 kB / 0.8009 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.2834, allocations: 23.91 kB / 0.801 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/0.2834, allocations: 19.92 kB / 0.801 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.2835, allocations: 4 kB / 0.801 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 9.839e-05/0.2836, allocations: 131.8 kB / 0.8011 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2836, allocations: 0 / 0.8011 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004406/0.284, allocations: 87.84 kB / 0.8012 GB, free: 13.3 MB / 0.6231 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.0001071/0.2841, allocations: 99.98 kB / 0.8013 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006794/0.2848, allocations: 387 kB / 0.8017 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2848, allocations: 4 kB / 0.8017 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002124/0.2851, allocations: 120.8 kB / 0.8018 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004791/0.2855, allocations: 46.5 kB / 0.8018 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007169/0.2863, allocations: 0.5221 MB / 0.8023 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.2866, allocations: 0.7517 MB / 0.8031 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001931/0.2868, allocations: 73.47 kB / 0.8031 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.739e-05/0.2868, allocations: 15.44 kB / 0.8032 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of SimCode: time 3.11e-07/0.2868, allocations: 0 / 0.8032 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of Templates: time 0.005246/0.2921, allocations: 2.131 MB / 0.8052 GB, free: 9.105 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) Environment - environmentSimulation: