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.001242/0.001242, allocations: 106.4 kB / 16.36 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.001215/0.001215, allocations: 193.9 kB / 17.3 MB, free: 5.57 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.392/1.392, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.821/1.821, allocations: 292.3 MB / 0.5496 GB, free: 17.44 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.001432/0.001433, allocations: 71.89 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2623, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.00413/0.2665, allocations: 2.642 MB / 0.7874 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4124/0.6789, allocations: 1.346 MB / 0.7887 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/0.6791, allocations: 4.125 kB / 0.7887 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006546/0.6798, allocations: 176.1 kB / 0.7889 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003387/0.6802, allocations: 170.6 kB / 0.789 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003121/0.6805, allocations: 162.7 kB / 0.7892 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002438/0.6807, allocations: 260.3 kB / 0.7894 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002725/0.681, allocations: 141.4 kB / 0.7896 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.6812, allocations: 105.4 kB / 0.7897 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002093/0.6814, allocations: 131.7 kB / 0.7898 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.156e-05/0.6814, allocations: 18.16 kB / 0.7898 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002136/0.6816, allocations: 142.8 kB / 0.7899 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.494e-05/0.6817, allocations: 69.69 kB / 0.79 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.801e-05/0.6818, allocations: 93.16 kB / 0.7901 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002862/0.6821, allocations: 293.7 kB / 0.7904 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.6821, allocations: 5.266 kB / 0.7904 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6821, allocations: 2.531 kB / 0.7904 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.6821, allocations: 0 / 0.7904 GB, free: 46.6 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.0007215/0.6829, allocations: 491.9 kB / 0.7909 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.6829, allocations: 7.875 kB / 0.7909 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004766/0.6834, allocations: 73.59 kB / 0.7909 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.6836, allocations: 243.3 kB / 0.7912 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.6836, allocations: 8.938 kB / 0.7912 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.337e-05/0.6837, allocations: 14.77 kB / 0.7912 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004407/0.6841, allocations: 310.3 kB / 0.7915 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.6841, allocations: 9.703 kB / 0.7915 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.6842, allocations: 8.219 kB / 0.7915 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.022e-05/0.6842, allocations: 23.58 kB / 0.7915 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004301/0.6847, allocations: 261.5 kB / 0.7918 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001349/0.686, allocations: 1.487 MB / 0.7932 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005659/0.6866, allocations: 262 kB / 0.7935 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.6868, allocations: 125.3 kB / 0.7936 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.6869, allocations: 4 kB / 0.7936 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.6869, allocations: 45.86 kB / 0.7936 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.6869, allocations: 0.625 kB / 0.7936 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0007546/0.6877, allocations: 337.9 kB / 0.794 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.6877, allocations: 84.11 kB / 0.794 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.6879, allocations: 174.8 kB / 0.7942 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.688, allocations: 29.2 kB / 0.7942 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.114e-05/0.6881, allocations: 151.5 kB / 0.7944 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.6881, allocations: 48.52 kB / 0.7944 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.827e-05/0.6882, allocations: 45.38 kB / 0.7945 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.6883, allocations: 334.1 kB / 0.7948 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.6885, allocations: 108.2 kB / 0.7949 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.6887, allocations: 164.2 kB / 0.7951 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004091/0.6892, allocations: 280.3 kB / 0.7953 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.6892, allocations: 0 / 0.7953 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004897/0.6897, allocations: 312 kB / 0.7956 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.6897, allocations: 3.406 kB / 0.7956 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.6897, allocations: 3.344 kB / 0.7956 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.6897, allocations: 3.469 kB / 0.7956 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000267/0.69, allocations: 57.62 kB / 0.7957 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.69, allocations: 4.094 kB / 0.7957 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.6902, allocations: 34.09 kB / 0.7957 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.6902, allocations: 6.812 kB / 0.7957 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002261/0.6904, allocations: 196.5 kB / 0.7959 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001751/0.6906, allocations: 161.1 kB / 0.7961 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003133/0.691, allocations: 251.2 kB / 0.7963 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.463e-06/0.691, allocations: 1.5 kB / 0.7963 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004026/0.6914, allocations: 279 kB / 0.7966 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.105e-06/0.6914, allocations: 7.719 kB / 0.7966 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.6914, allocations: 3.406 kB / 0.7966 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.168e-06/0.6914, allocations: 5.438 kB / 0.7966 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000198/0.6916, allocations: 45.22 kB / 0.7966 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.6916, allocations: 11.69 kB / 0.7966 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.6918, allocations: 30.83 kB / 0.7967 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.6918, allocations: 10.16 kB / 0.7967 GB, free: 43.37 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 8.828e-05/0.6919, allocations: 193.1 kB / 0.7969 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.747e-05/0.692, allocations: 10.88 kB / 0.7969 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004605/0.6924, allocations: 272.3 kB / 0.7971 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.6925, allocations: 7.438 kB / 0.7971 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.6925, allocations: 1 kB / 0.7971 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.6925, allocations: 3.281 kB / 0.7971 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008488/0.6933, allocations: 0.6801 MB / 0.7978 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.6933, allocations: 1.344 kB / 0.7978 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000221/0.6936, allocations: 51.42 kB / 0.7979 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.6936, allocations: 2.844 kB / 0.7979 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.6936, allocations: 8.469 kB / 0.7979 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.6936, allocations: 5.062 kB / 0.7979 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.6936, allocations: 1.5 kB / 0.7979 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004511/0.6941, allocations: 455.5 kB / 0.7983 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.615e-05/0.6942, allocations: 112.5 kB / 0.7984 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.282e-05/0.6942, allocations: 10 kB / 0.7984 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.6944, allocations: 19.41 kB / 0.7984 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.531e-05/0.6945, allocations: 19.92 kB / 0.7985 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.6945, allocations: 5.625 kB / 0.7985 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.382e-05/0.6946, allocations: 134 kB / 0.7986 GB, free: 42.35 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6946, allocations: 5.25 kB / 0.7986 GB, free: 42.35 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004552/0.6951, allocations: 78.69 kB / 0.7987 GB, free: 42.34 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.000104/0.6952, allocations: 105 kB / 0.7988 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006607/0.6959, allocations: 379.5 kB / 0.7991 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6959, allocations: 0 / 0.7991 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.6961, allocations: 118.7 kB / 0.7993 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004753/0.6966, allocations: 44.81 kB / 0.7993 GB, free: 42.24 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006582/0.6972, allocations: 431.2 kB / 0.7997 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.6975, allocations: 0.7466 MB / 0.8004 GB, free: 41.32 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001891/0.6977, allocations: 75.95 kB / 0.8005 GB, free: 41.32 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.204e-05/0.6977, allocations: 21.09 kB / 0.8005 GB, free: 41.31 MB / 0.6544 GB Notification: Performance of SimCode: time 4.1e-07/0.6977, allocations: 0 / 0.8005 GB, free: 41.31 MB / 0.6544 GB Notification: Performance of Templates: time 0.005737/0.7035, allocations: 2.3 MB / 0.8028 GB, free: 41.22 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)