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.001649/0.001649, allocations: 115.1 kB / 16.37 MB, free: 5.996 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.001947/0.001947, allocations: 188 kB / 17.3 MB, free: 5.617 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.351/1.351, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.791/1.791, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001577/0.001577, allocations: 68.38 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2381, allocations: 114.6 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.00437/0.2425, allocations: 2.645 MB / 0.7874 GB, free: 492 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3947/0.6373, allocations: 1.352 MB / 0.7887 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.6374, allocations: 7.281 kB / 0.7887 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006291/0.6381, allocations: 171.5 kB / 0.7889 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000352/0.6385, allocations: 166.6 kB / 0.789 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003422/0.6388, allocations: 161.8 kB / 0.7892 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002614/0.6391, allocations: 265.8 kB / 0.7894 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002854/0.6394, allocations: 139.6 kB / 0.7896 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.6396, allocations: 105.9 kB / 0.7897 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.6398, allocations: 129.2 kB / 0.7898 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.6399, allocations: 16.66 kB / 0.7898 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002261/0.6401, allocations: 146.3 kB / 0.79 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.491e-05/0.6402, allocations: 62.03 kB / 0.79 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.552e-05/0.6403, allocations: 103.9 kB / 0.7901 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003132/0.6406, allocations: 290.7 kB / 0.7904 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.6406, allocations: 2.656 kB / 0.7904 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.923e-06/0.6406, allocations: 0 / 0.7904 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.6406, allocations: 0 / 0.7904 GB, free: 46.71 MB / 0.6544 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.000726/0.6414, allocations: 0.49 MB / 0.7909 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.6414, allocations: 7.875 kB / 0.7909 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004793/0.6419, allocations: 69.38 kB / 0.7909 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.6421, allocations: 247.5 kB / 0.7912 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.6422, allocations: 11.75 kB / 0.7912 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.6422, allocations: 13.12 kB / 0.7912 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004601/0.6427, allocations: 307.5 kB / 0.7915 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.6427, allocations: 6.781 kB / 0.7915 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.6427, allocations: 6.688 kB / 0.7915 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.27e-05/0.6428, allocations: 20.36 kB / 0.7915 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004387/0.6432, allocations: 261.2 kB / 0.7918 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.6445, allocations: 1.495 MB / 0.7932 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004317/0.6449, allocations: 262.3 kB / 0.7935 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/0.6452, allocations: 137 kB / 0.7936 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.6452, allocations: 5.75 kB / 0.7936 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.6452, allocations: 35.88 kB / 0.7937 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.513e-06/0.6452, allocations: 1.688 kB / 0.7937 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0007066/0.6459, allocations: 345.4 kB / 0.794 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.646, allocations: 79.73 kB / 0.7941 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.6461, allocations: 173.3 kB / 0.7942 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.6462, allocations: 29.33 kB / 0.7943 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.021e-05/0.6462, allocations: 144 kB / 0.7944 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.6463, allocations: 48.27 kB / 0.7944 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.086e-05/0.6463, allocations: 52.09 kB / 0.7945 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.236e-05/0.6464, allocations: 328.9 kB / 0.7948 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.6466, allocations: 109.9 kB / 0.7949 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/0.6468, allocations: 166.8 kB / 0.7951 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003824/0.6472, allocations: 277.4 kB / 0.7953 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.6472, allocations: 0 / 0.7953 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004879/0.6477, allocations: 304.9 kB / 0.7956 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.6477, allocations: 4.188 kB / 0.7956 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.6477, allocations: 7.656 kB / 0.7956 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.6478, allocations: 6.641 kB / 0.7956 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/0.648, allocations: 57.62 kB / 0.7957 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.6481, allocations: 5.391 kB / 0.7957 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.6483, allocations: 31.84 kB / 0.7957 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.6483, allocations: 6.969 kB / 0.7957 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002179/0.6485, allocations: 194.6 kB / 0.7959 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001782/0.6487, allocations: 167.4 kB / 0.7961 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003241/0.649, allocations: 253.3 kB / 0.7963 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.104e-06/0.649, allocations: 5.031 kB / 0.7963 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004182/0.6495, allocations: 272.4 kB / 0.7966 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.073e-06/0.6495, allocations: 6.688 kB / 0.7966 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.6495, allocations: 3.375 kB / 0.7966 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.847e-06/0.6495, allocations: 3.5 kB / 0.7966 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.6497, allocations: 50.92 kB / 0.7967 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.6497, allocations: 3.688 kB / 0.7967 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.6499, allocations: 31.19 kB / 0.7967 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.6499, allocations: 20.55 kB / 0.7967 GB, free: 43.47 MB / 0.6544 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 7.605e-05/0.65, allocations: 189.9 kB / 0.7969 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.523e-05/0.6501, allocations: 10.91 kB / 0.7969 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004787/0.6505, allocations: 277.6 kB / 0.7972 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.6506, allocations: 0 / 0.7972 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.6506, allocations: 5.625 kB / 0.7972 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.6506, allocations: 3.438 kB / 0.7972 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000891/0.6515, allocations: 0.6758 MB / 0.7978 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.6515, allocations: 0.9375 kB / 0.7978 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002263/0.6517, allocations: 51.19 kB / 0.7979 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.6517, allocations: 2.156 kB / 0.7979 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.6517, allocations: 9.781 kB / 0.7979 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.6518, allocations: 5.297 kB / 0.7979 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6518, allocations: 0.7031 kB / 0.7979 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004957/0.6523, allocations: 453.6 kB / 0.7983 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.928e-05/0.6524, allocations: 112.5 kB / 0.7984 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.6524, allocations: 7.188 kB / 0.7984 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.6526, allocations: 23.97 kB / 0.7985 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/0.6527, allocations: 17.92 kB / 0.7985 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.6527, allocations: 5.344 kB / 0.7985 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.185e-05/0.6528, allocations: 132.1 kB / 0.7986 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6528, allocations: 0 / 0.7986 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004914/0.6533, allocations: 78.88 kB / 0.7987 GB, free: 42.45 MB / 0.6544 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.0001099/0.6534, allocations: 109.8 kB / 0.7988 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007257/0.6541, allocations: 376.3 kB / 0.7992 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6542, allocations: 0 / 0.7992 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001989/0.6544, allocations: 118.6 kB / 0.7993 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004637/0.6548, allocations: 41.05 kB / 0.7993 GB, free: 42.35 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007225/0.6556, allocations: 472.8 kB / 0.7998 GB, free: 42.1 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.6558, allocations: 0.7496 MB / 0.8005 GB, free: 41.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.637e-05/0.6559, allocations: 19.41 kB / 0.8005 GB, free: 41.39 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.6559, allocations: 0 / 0.8005 GB, free: 41.39 MB / 0.6544 GB Notification: Performance of Templates: time 0.005243/0.6611, allocations: 2.58 MB / 0.803 GB, free: 41.27 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (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)