Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.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.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 109.4 kB / 15.69 MB, free: 128 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.001255/0.001255, allocations: 188 kB / 16.62 MB, free: 6.613 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.517/1.517, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.838/1.838, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001889/0.001889, allocations: 82.12 kB / 0.6723 GB, free: 26.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2536, allocations: 114.5 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.00649/0.2601, allocations: 3.812 MB / 0.7878 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002928/0.2631, allocations: 1.73 MB / 0.7895 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002861/0.2634, allocations: 8 kB / 0.7895 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001476/0.2649, allocations: 0.4895 MB / 0.79 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006357/0.2656, allocations: 222.9 kB / 0.7902 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006049/0.2662, allocations: 203.5 kB / 0.7904 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006829/0.2669, allocations: 482.4 kB / 0.7909 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006926/0.2676, allocations: 365.1 kB / 0.7912 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003922/0.268, allocations: 191.4 kB / 0.7914 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000516/0.2685, allocations: 215.2 kB / 0.7916 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.746e-05/0.2686, allocations: 35.94 kB / 0.7917 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004939/0.2691, allocations: 235.5 kB / 0.7919 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.2693, allocations: 127.7 kB / 0.792 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002183/0.2695, allocations: 183.1 kB / 0.7922 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007482/0.2703, allocations: 0.4907 MB / 0.7927 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2703, allocations: 0 / 0.7927 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.907e-06/0.2703, allocations: 0 / 0.7927 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.2703, allocations: 3.938 kB / 0.7927 GB, free: 3.941 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001141/0.2715, allocations: 0.6277 MB / 0.7933 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.2715, allocations: 8.031 kB / 0.7933 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009666/0.2725, allocations: 136.4 kB / 0.7934 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004488/0.2729, allocations: 295.6 kB / 0.7937 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.328e-05/0.273, allocations: 21.03 kB / 0.7937 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.834e-05/0.273, allocations: 24.38 kB / 0.7937 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007172/0.2738, allocations: 467.9 kB / 0.7942 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.2738, allocations: 0 / 0.7942 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.354e-05/0.2738, allocations: 19.98 kB / 0.7942 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.925e-05/0.2739, allocations: 32.48 kB / 0.7942 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005286/0.2744, allocations: 321.9 kB / 0.7945 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00227/0.2767, allocations: 2.185 MB / 0.7967 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003711/0.2771, allocations: 251.7 kB / 0.7969 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002539/0.2774, allocations: 112.8 kB / 0.797 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.2774, allocations: 4 kB / 0.797 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.2774, allocations: 30.56 kB / 0.7971 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=14): time 2.725e-06/0.2774, allocations: 7.984 kB / 0.7971 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of matching and sorting (n=14): time 0.0005933/0.278, allocations: 303.2 kB / 0.7973 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.2781, allocations: 51.66 kB / 0.7974 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.2784, allocations: 266.5 kB / 0.7977 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.2784, allocations: 29.7 kB / 0.7977 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.2785, allocations: 203.8 kB / 0.7979 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.75e-05/0.2786, allocations: 59.28 kB / 0.7979 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-05/0.2786, allocations: 45.94 kB / 0.798 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.2788, allocations: 334.8 kB / 0.7983 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.674e-05/0.2789, allocations: 56.44 kB / 0.7983 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.279, allocations: 149.2 kB / 0.7985 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002474/0.2793, allocations: 211 kB / 0.7987 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.2793, allocations: 4 kB / 0.7987 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004256/0.2797, allocations: 272.1 kB / 0.799 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.2798, allocations: 8 kB / 0.799 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2798, allocations: 0 / 0.799 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001624/0.28, allocations: 25.22 kB / 0.799 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.2802, allocations: 55.91 kB / 0.799 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/0.2813, allocations: 1.422 MB / 0.8004 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.2815, allocations: 27.69 kB / 0.8005 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.2815, allocations: 8 kB / 0.8005 GB, free: 11.27 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001602/0.2817, allocations: 173.6 kB / 0.8006 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.952e-05/0.2817, allocations: 23.72 kB / 0.8007 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.585e-05/0.2818, allocations: 29.83 kB / 0.8007 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2818, allocations: 4.062 kB / 0.8007 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.2818, allocations: 0 / 0.8007 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.2818, allocations: 0 / 0.8007 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009036/0.2827, allocations: 0.7064 MB / 0.8014 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.2827, allocations: 4.188 kB / 0.8014 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.363e-05/0.2828, allocations: 19.94 kB / 0.8014 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.699e-05/0.2829, allocations: 36.66 kB / 0.8014 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.2829, allocations: 11.98 kB / 0.8014 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009747/0.2839, allocations: 1.414 MB / 0.8028 GB, free: 8.609 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2839, allocations: 0 / 0.8028 GB, free: 8.609 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003364/0.2843, allocations: 313.2 kB / 0.8031 GB, free: 8.266 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.2844, allocations: 124.7 kB / 0.8032 GB, free: 8.125 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.2844, allocations: 4 kB / 0.8032 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.2846, allocations: 12 kB / 0.8033 GB, free: 8.109 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.999e-05/0.2846, allocations: 11.92 kB / 0.8033 GB, free: 8.098 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.2847, allocations: 12 kB / 0.8033 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001803/0.2848, allocations: 190 kB / 0.8035 GB, free: 7.902 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2849, allocations: 0 / 0.8035 GB, free: 7.902 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003829/0.2852, allocations: 79.75 kB / 0.8035 GB, free: 7.824 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001338/0.2854, allocations: 105.6 kB / 0.8036 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004662/0.2859, allocations: 271.1 kB / 0.8039 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.2859, allocations: 4 kB / 0.8039 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002114/0.2861, allocations: 182.6 kB / 0.8041 GB, free: 7.238 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004619/0.2866, allocations: 67.66 kB / 0.8041 GB, free: 7.172 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008316/0.2874, allocations: 0.5314 MB / 0.8047 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.2878, allocations: 0.7948 MB / 0.8054 GB, free: 5.777 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001285/0.2879, allocations: 42.27 kB / 0.8055 GB, free: 5.734 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.863e-05/0.288, allocations: 19.44 kB / 0.8055 GB, free: 5.715 MB / 0.6231 GB Notification: Performance of SimCode: time 2.8e-07/0.288, allocations: 192 / 0.8055 GB, free: 5.715 MB / 0.6231 GB Notification: Performance of Templates: time 0.005863/0.2939, allocations: 2.689 MB / 0.8081 GB, free: 3.055 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)