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.001201/0.001201, allocations: 105.4 kB / 15.7 MB, free: 24 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.001201/0.001201, allocations: 197.2 kB / 16.64 MB, free: 6.453 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.507/1.507, allocations: 205.1 MB / 222.5 MB, free: 4.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.772/1.772, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001469/0.001469, allocations: 74.28 kB / 0.6723 GB, free: 26.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2654, allocations: 114.5 MB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004324/0.2698, allocations: 2.638 MB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002193/0.272, allocations: 1.353 MB / 0.788 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.2722, allocations: 4 kB / 0.788 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007076/0.2729, allocations: 182.5 kB / 0.7882 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003692/0.2733, allocations: 171.2 kB / 0.7884 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003497/0.2736, allocations: 163.6 kB / 0.7885 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003168/0.274, allocations: 263.2 kB / 0.7888 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003366/0.2743, allocations: 141.5 kB / 0.7889 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.2745, allocations: 99.61 kB / 0.789 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002576/0.2747, allocations: 123.6 kB / 0.7891 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.988e-05/0.2748, allocations: 12 kB / 0.7891 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002495/0.275, allocations: 151.6 kB / 0.7893 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.995e-05/0.2751, allocations: 71.8 kB / 0.7894 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.72e-05/0.2752, allocations: 95.53 kB / 0.7894 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003471/0.2756, allocations: 291.1 kB / 0.7897 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2756, allocations: 0 / 0.7897 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2756, allocations: 0 / 0.7897 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.2756, allocations: 0 / 0.7897 GB, free: 6.957 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.0008008/0.2764, allocations: 0.491 MB / 0.7902 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.2765, allocations: 8.031 kB / 0.7902 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005007/0.277, allocations: 68.67 kB / 0.7903 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.2773, allocations: 250.7 kB / 0.7905 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.2773, allocations: 12.66 kB / 0.7905 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/0.2773, allocations: 12.38 kB / 0.7905 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005269/0.2779, allocations: 316.6 kB / 0.7908 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.2779, allocations: 4 kB / 0.7908 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.2779, allocations: 11.98 kB / 0.7909 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.502e-05/0.278, allocations: 20.27 kB / 0.7909 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005202/0.2785, allocations: 260.6 kB / 0.7911 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/0.2801, allocations: 1.501 MB / 0.7926 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005175/0.2806, allocations: 249.1 kB / 0.7928 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002328/0.2809, allocations: 133.6 kB / 0.793 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.2809, allocations: 0 / 0.793 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.281, allocations: 46.5 kB / 0.793 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 3.277e-06/0.281, allocations: 0 / 0.793 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0007849/0.2818, allocations: 341.2 kB / 0.7933 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.2818, allocations: 81.11 kB / 0.7934 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.282, allocations: 172.3 kB / 0.7936 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.282, allocations: 33.7 kB / 0.7936 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.413e-05/0.2821, allocations: 144.1 kB / 0.7937 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.586e-05/0.2822, allocations: 51.2 kB / 0.7938 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.191e-05/0.2823, allocations: 45.7 kB / 0.7938 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.2824, allocations: 330.8 kB / 0.7941 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.2827, allocations: 108.8 kB / 0.7942 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.2829, allocations: 167.5 kB / 0.7944 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004477/0.2834, allocations: 277.2 kB / 0.7947 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.2834, allocations: 0 / 0.7947 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005436/0.2839, allocations: 317.1 kB / 0.795 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.284, allocations: 6.656 kB / 0.795 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.284, allocations: 4 kB / 0.795 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.284, allocations: 3.984 kB / 0.795 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000281/0.2843, allocations: 55.89 kB / 0.795 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.2843, allocations: 4 kB / 0.795 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.2845, allocations: 32.03 kB / 0.7951 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.2845, allocations: 12 kB / 0.7951 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002689/0.2848, allocations: 196.7 kB / 0.7953 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000218/0.285, allocations: 151 kB / 0.7954 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003867/0.2854, allocations: 258.8 kB / 0.7957 GB, free: 416 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.896e-06/0.2854, allocations: 4 kB / 0.7957 GB, free: 412 kB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004833/0.2859, allocations: 273.1 kB / 0.7959 GB, free: 132 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.2859, allocations: 11.98 kB / 0.7959 GB, free: 120 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-06/0.286, allocations: 4.25 kB / 0.7959 GB, free: 116 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.482e-06/0.286, allocations: 7.938 kB / 0.7959 GB, free: 108 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/0.2862, allocations: 47.91 kB / 0.796 GB, free: 60 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.2862, allocations: 7.938 kB / 0.796 GB, free: 52 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.2864, allocations: 31.81 kB / 0.796 GB, free: 20 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.2864, allocations: 8 kB / 0.796 GB, free: 12 kB / 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.0001389/0.2866, allocations: 192.2 kB / 0.7962 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.989e-05/0.2866, allocations: 15.81 kB / 0.7962 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005392/0.2872, allocations: 274.9 kB / 0.7965 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.2872, allocations: 4 kB / 0.7965 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.2872, allocations: 3.938 kB / 0.7965 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2872, allocations: 0 / 0.7965 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.2883, allocations: 0.6733 MB / 0.7972 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.2883, allocations: 8 kB / 0.7972 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/0.2885, allocations: 43.95 kB / 0.7972 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.2885, allocations: 0 / 0.7972 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.2885, allocations: 11.94 kB / 0.7972 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.2886, allocations: 3.938 kB / 0.7972 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.2886, allocations: 7.984 kB / 0.7972 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005268/0.2891, allocations: 449.4 kB / 0.7977 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.2892, allocations: 116.8 kB / 0.7978 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.2892, allocations: 11.94 kB / 0.7978 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002062/0.2895, allocations: 19.97 kB / 0.7978 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.608e-05/0.2895, allocations: 19.86 kB / 0.7978 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.2895, allocations: 8 kB / 0.7978 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001047/0.2896, allocations: 127.8 kB / 0.798 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2897, allocations: 0 / 0.798 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004698/0.2901, allocations: 79.84 kB / 0.798 GB, free: 13.84 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.0001559/0.2903, allocations: 111.2 kB / 0.7981 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007284/0.291, allocations: 372.3 kB / 0.7985 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.291, allocations: 0 / 0.7985 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002228/0.2913, allocations: 123.9 kB / 0.7986 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005072/0.2918, allocations: 42.39 kB / 0.7987 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008226/0.2926, allocations: 442.5 kB / 0.7991 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.293, allocations: 0.7441 MB / 0.7998 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001921/0.2932, allocations: 73.47 kB / 0.7999 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.486e-05/0.2933, allocations: 19.44 kB / 0.7999 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.2933, allocations: 0 / 0.7999 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of Templates: time 0.005795/0.2991, allocations: 2.309 MB / 0.8021 GB, free: 9.578 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)