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.001405/0.001406, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 195.4 kB / 16.53 MB, free: 6.391 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.614/1.614, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.845/1.845, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001492/0.001492, allocations: 72.31 kB / 0.6715 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2945, allocations: 114.5 MB / 0.7834 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004339/0.2988, allocations: 2.65 MB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002338/0.3012, allocations: 1.349 MB / 0.7873 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.3014, allocations: 7.938 kB / 0.7873 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007166/0.3022, allocations: 171.3 kB / 0.7874 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003918/0.3026, allocations: 167.3 kB / 0.7876 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003904/0.303, allocations: 167 kB / 0.7878 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003001/0.3033, allocations: 267.1 kB / 0.788 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003235/0.3036, allocations: 141.5 kB / 0.7882 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.3038, allocations: 99.66 kB / 0.7883 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002709/0.3041, allocations: 131.5 kB / 0.7884 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.413e-05/0.3041, allocations: 16 kB / 0.7884 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002848/0.3044, allocations: 143.7 kB / 0.7885 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.682e-05/0.3045, allocations: 63.81 kB / 0.7886 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.3047, allocations: 95.52 kB / 0.7887 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004062/0.3051, allocations: 291.4 kB / 0.789 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3051, allocations: 0 / 0.789 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3051, allocations: 0 / 0.789 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.926e-06/0.3051, allocations: 0 / 0.789 GB, free: 7.707 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.001033/0.3062, allocations: 0.491 MB / 0.7894 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.3062, allocations: 16.03 kB / 0.7895 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005403/0.3068, allocations: 60.67 kB / 0.7895 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003807/0.3072, allocations: 247 kB / 0.7897 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.3072, allocations: 12.66 kB / 0.7898 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.231e-05/0.3072, allocations: 20.34 kB / 0.7898 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006169/0.3079, allocations: 312.7 kB / 0.7901 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.3079, allocations: 0 / 0.7901 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/0.3079, allocations: 4 kB / 0.7901 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.633e-05/0.308, allocations: 28.27 kB / 0.7901 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005308/0.3085, allocations: 260.5 kB / 0.7904 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001946/0.3105, allocations: 1.505 MB / 0.7918 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005047/0.311, allocations: 253.1 kB / 0.7921 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002218/0.3113, allocations: 129.6 kB / 0.7922 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.3113, allocations: 4 kB / 0.7922 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.3113, allocations: 34.56 kB / 0.7922 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.3113, allocations: 0 / 0.7922 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0007592/0.3121, allocations: 345.2 kB / 0.7926 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.3122, allocations: 81.11 kB / 0.7926 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.3123, allocations: 176.2 kB / 0.7928 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.3124, allocations: 29.7 kB / 0.7928 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.377e-05/0.3125, allocations: 140.1 kB / 0.793 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.391e-05/0.3125, allocations: 51.2 kB / 0.793 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.673e-05/0.3126, allocations: 49.83 kB / 0.7931 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.3127, allocations: 326.8 kB / 0.7934 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/0.3129, allocations: 108.8 kB / 0.7935 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.3132, allocations: 175.4 kB / 0.7936 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004398/0.3136, allocations: 273.5 kB / 0.7939 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.3136, allocations: 7.984 kB / 0.7939 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005333/0.3142, allocations: 305.1 kB / 0.7942 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.3142, allocations: 8.203 kB / 0.7942 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.3142, allocations: 8 kB / 0.7942 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.3142, allocations: 4 kB / 0.7942 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/0.3145, allocations: 51.89 kB / 0.7943 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.3145, allocations: 4 kB / 0.7943 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.3147, allocations: 39.75 kB / 0.7943 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.3148, allocations: 4 kB / 0.7943 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002658/0.315, allocations: 196.7 kB / 0.7945 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002136/0.3153, allocations: 156.5 kB / 0.7947 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003803/0.3157, allocations: 251.5 kB / 0.7949 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.303e-06/0.3157, allocations: 0 / 0.7949 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004636/0.3161, allocations: 279.4 kB / 0.7952 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.433e-05/0.3162, allocations: 11.98 kB / 0.7952 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-06/0.3162, allocations: 0 / 0.7952 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.969e-06/0.3162, allocations: 4 kB / 0.7952 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.3164, allocations: 47.97 kB / 0.7952 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.3164, allocations: 4.188 kB / 0.7952 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.3166, allocations: 35.81 kB / 0.7953 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.3166, allocations: 12 kB / 0.7953 GB, free: 0.7695 MB / 0.6075 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.0001243/0.3168, allocations: 192.1 kB / 0.7955 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.045e-05/0.3168, allocations: 15.81 kB / 0.7955 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005774/0.3174, allocations: 267 kB / 0.7957 GB, free: 296 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3174, allocations: 4 kB / 0.7957 GB, free: 292 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.3174, allocations: 7.984 kB / 0.7957 GB, free: 284 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3175, allocations: 0 / 0.7957 GB, free: 284 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.3185, allocations: 0.681 MB / 0.7964 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3185, allocations: 0 / 0.7964 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/0.3187, allocations: 56.02 kB / 0.7965 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3187, allocations: 0 / 0.7965 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.3188, allocations: 7.938 kB / 0.7965 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.3188, allocations: 4 kB / 0.7965 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3188, allocations: 0 / 0.7965 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005217/0.3193, allocations: 449.8 kB / 0.7969 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.419e-05/0.3194, allocations: 120.8 kB / 0.797 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.3194, allocations: 7.938 kB / 0.797 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.3196, allocations: 19.97 kB / 0.797 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.608e-05/0.3197, allocations: 15.98 kB / 0.797 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.3197, allocations: 4 kB / 0.7971 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001054/0.3199, allocations: 131.8 kB / 0.7972 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3199, allocations: 0 / 0.7972 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004748/0.3203, allocations: 79.84 kB / 0.7973 GB, free: 14.6 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.0001505/0.3205, allocations: 111.2 kB / 0.7974 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008068/0.3213, allocations: 390.9 kB / 0.7977 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.3213, allocations: 4 kB / 0.7977 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002284/0.3216, allocations: 117 kB / 0.7978 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005304/0.3221, allocations: 48.92 kB / 0.7979 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000954/0.3231, allocations: 446.2 kB / 0.7983 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000436/0.3235, allocations: 0.7441 MB / 0.799 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002202/0.3237, allocations: 73.47 kB / 0.7991 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.335e-05/0.3238, allocations: 19.44 kB / 0.7991 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.3238, allocations: 0 / 0.7991 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of Templates: time 0.005695/0.3295, allocations: 2.305 MB / 0.8014 GB, free: 10.32 MB / 0.6231 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)