Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.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.ParallelLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005594/0.005594, allocations: 103.7 kB / 15.74 MB, free: 5.953 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.001212/0.001212, allocations: 188.9 kB / 16.67 MB, free: 5.883 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002015/0.002015, allocations: 279 kB / 290.8 MB, free: 1.754 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9256/0.9256, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 95.86 kB / 0.6814 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1703, allocations: 86.98 MB / 0.7664 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.005572/0.1759, allocations: 4.193 MB / 0.7705 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004209/0.1801, allocations: 2.645 MB / 0.7731 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003626/0.1805, allocations: 7.938 kB / 0.7731 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00117/0.1817, allocations: 369.5 kB / 0.7734 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0009598/0.1827, allocations: 402.2 kB / 0.7738 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.1839, allocations: 0.5029 MB / 0.7743 GB, free: 308 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.3271/0.511, allocations: 0.6941 MB / 0.775 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006204/0.5117, allocations: 348.2 kB / 0.7753 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003911/0.5121, allocations: 270 kB / 0.7756 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004767/0.5126, allocations: 334.9 kB / 0.7759 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.658e-05/0.5127, allocations: 41.72 kB / 0.7759 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000535/0.5132, allocations: 320.2 kB / 0.7762 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001871/0.5134, allocations: 186.9 kB / 0.7764 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002364/0.5136, allocations: 252.3 kB / 0.7766 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008102/0.5145, allocations: 0.7232 MB / 0.7774 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.5145, allocations: 0 / 0.7774 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5145, allocations: 1.406 kB / 0.7774 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.449e-05/0.5145, allocations: 0 / 0.7774 GB, free: 8.977 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001251/0.5158, allocations: 0.8092 MB / 0.7781 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.5158, allocations: 9.469 kB / 0.7782 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008851/0.5167, allocations: 144.1 kB / 0.7783 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004141/0.5171, allocations: 374.7 kB / 0.7786 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.5171, allocations: 33.09 kB / 0.7787 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.006e-05/0.5172, allocations: 39.97 kB / 0.7787 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.5183, allocations: 0.8273 MB / 0.7795 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.5183, allocations: 11.44 kB / 0.7795 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.701e-05/0.5184, allocations: 20.94 kB / 0.7796 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.754e-05/0.5185, allocations: 63.05 kB / 0.7796 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.5196, allocations: 0.6399 MB / 0.7802 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00292/0.5225, allocations: 4.623 MB / 0.7848 GB, free: 20.17 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008871/0.5234, allocations: 492.6 kB / 0.7852 GB, free: 20.12 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004602/0.5239, allocations: 277 kB / 0.7855 GB, free: 20.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.5239, allocations: 11.83 kB / 0.7855 GB, free: 20.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.5239, allocations: 33.06 kB / 0.7855 GB, free: 20.06 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.603e-06/0.5239, allocations: 0 / 0.7855 GB, free: 20.06 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34): time 0.001696/0.5256, allocations: 0.8713 MB / 0.7864 GB, free: 19.79 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.5257, allocations: 80.86 kB / 0.7865 GB, free: 19.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003208/0.526, allocations: 372 kB / 0.7868 GB, free: 19.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.939e-05/0.5261, allocations: 32.61 kB / 0.7868 GB, free: 19.46 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.5262, allocations: 289.2 kB / 0.7871 GB, free: 19.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.193e-05/0.5263, allocations: 116.2 kB / 0.7872 GB, free: 19.14 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.5265, allocations: 113 kB / 0.7873 GB, free: 19.08 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.5266, allocations: 358.4 kB / 0.7877 GB, free: 18.74 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004398/0.527, allocations: 254.1 kB / 0.7879 GB, free: 18.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004904/0.5275, allocations: 473.4 kB / 0.7884 GB, free: 18.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009292/0.5285, allocations: 0.752 MB / 0.7891 GB, free: 17.84 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5285, allocations: 3 kB / 0.7891 GB, free: 17.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001168/0.5297, allocations: 0.758 MB / 0.7899 GB, free: 17.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.5297, allocations: 10.47 kB / 0.7899 GB, free: 17.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.5297, allocations: 5.594 kB / 0.7899 GB, free: 17.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.5297, allocations: 13.25 kB / 0.7899 GB, free: 17.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000628/0.5304, allocations: 168.1 kB / 0.79 GB, free: 17.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.5304, allocations: 10.33 kB / 0.7901 GB, free: 17.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004299/0.5308, allocations: 76 kB / 0.7901 GB, free: 17.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.133e-05/0.5309, allocations: 28.05 kB / 0.7902 GB, free: 17.55 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005028/0.5314, allocations: 344 kB / 0.7905 GB, free: 17.39 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004876/0.5319, allocations: 439 kB / 0.7909 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007859/0.5327, allocations: 0.6646 MB / 0.7915 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.256e-06/0.5327, allocations: 2.312 kB / 0.7916 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001048/0.5337, allocations: 0.6563 MB / 0.7922 GB, free: 16.37 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.5338, allocations: 13.27 kB / 0.7922 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.5338, allocations: 8.312 kB / 0.7922 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.5338, allocations: 10.31 kB / 0.7922 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005166/0.5343, allocations: 145.8 kB / 0.7924 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.5343, allocations: 15.77 kB / 0.7924 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003609/0.5347, allocations: 60.56 kB / 0.7924 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.434e-05/0.5347, allocations: 28.16 kB / 0.7925 GB, free: 16.33 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (67): * Single equations (assignments): 67 * 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.0001473/0.5349, allocations: 225.6 kB / 0.7927 GB, free: 16.13 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.714e-05/0.535, allocations: 43.86 kB / 0.7927 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.536, allocations: 0.5581 MB / 0.7933 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.536, allocations: 6.781 kB / 0.7933 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5361, allocations: 0 / 0.7933 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.5361, allocations: 6.844 kB / 0.7933 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002341/0.5384, allocations: 1.612 MB / 0.7949 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.5384, allocations: 3.938 kB / 0.7949 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005383/0.539, allocations: 113.5 kB / 0.795 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/0.539, allocations: 12.72 kB / 0.795 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.539, allocations: 14.53 kB / 0.795 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.539, allocations: 4.297 kB / 0.795 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.539, allocations: 9.125 kB / 0.795 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.5401, allocations: 0.7815 MB / 0.7958 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000164/0.5402, allocations: 162.7 kB / 0.7959 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.736e-05/0.5403, allocations: 16.27 kB / 0.7959 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004072/0.5407, allocations: 48.86 kB / 0.796 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.534e-05/0.5408, allocations: 32.44 kB / 0.796 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.639e-05/0.5408, allocations: 16.8 kB / 0.796 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002344/0.5411, allocations: 253.5 kB / 0.7963 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5411, allocations: 3.938 kB / 0.7963 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008177/0.5419, allocations: 191.8 kB / 0.7965 GB, free: 14.23 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (35): * Single equations (assignments): 35 * 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.0001236/0.542, allocations: 118.4 kB / 0.7966 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001587/0.5436, allocations: 0.9089 MB / 0.7975 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.5437, allocations: 5.688 kB / 0.7975 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005204/0.5442, allocations: 267.3 kB / 0.7977 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008151/0.545, allocations: 135.1 kB / 0.7978 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.5467, allocations: 0.9979 MB / 0.7988 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005301/0.5472, allocations: 0.8701 MB / 0.7997 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006143/0.5478, allocations: 202.4 kB / 0.7999 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/0.548, allocations: 36.44 kB / 0.7999 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.548, allocations: 0 / 0.7999 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of Templates: time 0.01105/0.5591, allocations: 6.217 MB / 0.806 GB, free: 12.09 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)