Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.659/2.659, allocations: 287.3 MB / 302.3 MB, free: 8.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001533/0.001533, allocations: 189.5 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.308/2.308, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 96.95 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004945/0.0004946, allocations: 15.84 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2275, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.008432/0.236, allocations: 3.297 MB / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004008/0.2401, allocations: 1.642 MB / 0.983 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002833/0.2404, allocations: 4 kB / 0.983 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002436/0.2407, allocations: 55.62 kB / 0.9831 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006509/0.2413, allocations: 167.4 kB / 0.9832 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008417/0.2422, allocations: 206 kB / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005917/0.2428, allocations: 279.4 kB / 0.9837 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004563/0.2433, allocations: 332.3 kB / 0.984 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00027/0.2436, allocations: 131.5 kB / 0.9841 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003352/0.2439, allocations: 163.4 kB / 0.9843 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.377e-05/0.244, allocations: 19.94 kB / 0.9843 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000307/0.2443, allocations: 75.89 kB / 0.9844 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.2445, allocations: 111.7 kB / 0.9845 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.023e-05/0.2446, allocations: 81.52 kB / 0.9846 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005096/0.2451, allocations: 359.4 kB / 0.9849 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.656e-06/0.2451, allocations: 0 / 0.9849 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2451, allocations: 0 / 0.9849 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.2451, allocations: 0 / 0.9849 GB, free: 21.46 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001278/0.2464, allocations: 0.6157 MB / 0.9855 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.2465, allocations: 12.02 kB / 0.9855 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008157/0.2473, allocations: 99.36 kB / 0.9856 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005192/0.2478, allocations: 282.2 kB / 0.9859 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/0.2479, allocations: 24.64 kB / 0.9859 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.204e-05/0.248, allocations: 32 kB / 0.9859 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.2491, allocations: 493.8 kB / 0.9864 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.2492, allocations: 0 / 0.9864 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.994e-05/0.2492, allocations: 12 kB / 0.9864 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.625e-05/0.2493, allocations: 36.64 kB / 0.9864 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.2505, allocations: 394.2 kB / 0.9868 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002784/0.2533, allocations: 2.041 MB / 0.9888 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008861/0.2542, allocations: 234.7 kB / 0.989 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.2543, allocations: 0 / 0.989 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.2543, allocations: 34.56 kB / 0.9891 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.633e-06/0.2544, allocations: 0 / 0.9891 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.00174/0.2561, allocations: 473.6 kB / 0.9895 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.2562, allocations: 55.36 kB / 0.9896 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/0.2565, allocations: 270.6 kB / 0.9898 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.2565, allocations: 25.7 kB / 0.9899 GB, free: 16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.2566, allocations: 211.7 kB / 0.9901 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.451e-05/0.2567, allocations: 63.09 kB / 0.9901 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.882e-05/0.2567, allocations: 4 kB / 0.9901 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.719e-05/0.2568, allocations: 334.8 kB / 0.9904 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004126/0.2572, allocations: 108.5 kB / 0.9905 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004691/0.2577, allocations: 214.7 kB / 0.9908 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004583/0.2582, allocations: 132 kB / 0.9909 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.2582, allocations: 0 / 0.9909 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00123/0.2595, allocations: 389.3 kB / 0.9912 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002668/0.2598, allocations: 1.315 MB / 0.9925 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.2598, allocations: 4 kB / 0.9925 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002811/0.2601, allocations: 28.83 kB / 0.9926 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000544/0.2606, allocations: 71.91 kB / 0.9926 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.262, allocations: 1.355 MB / 0.994 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004647/0.2625, allocations: 55.52 kB / 0.994 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.349e-05/0.2625, allocations: 12 kB / 0.994 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.2626, allocations: 4 kB / 0.994 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001029/0.2636, allocations: 307.7 kB / 0.9943 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.2636, allocations: 4 kB / 0.9943 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.2637, allocations: 4 kB / 0.9943 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000526/0.2642, allocations: 79.89 kB / 0.9944 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.2642, allocations: 7.938 kB / 0.9944 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000377/0.2646, allocations: 44.02 kB / 0.9945 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.2646, allocations: 8 kB / 0.9945 GB, free: 10.97 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002567/0.2649, allocations: 253 kB / 0.9947 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.031e-05/0.265, allocations: 27.67 kB / 0.9947 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.244e-05/0.2651, allocations: 30.12 kB / 0.9948 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.2651, allocations: 4 kB / 0.9948 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.2651, allocations: 3.984 kB / 0.9948 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.2651, allocations: 4 kB / 0.9948 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004858/0.2656, allocations: 349.4 kB / 0.9951 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.2656, allocations: 4 kB / 0.9951 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003737/0.266, allocations: 39.97 kB / 0.9951 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001671/0.2662, allocations: 28.78 kB / 0.9952 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.2662, allocations: 11.94 kB / 0.9952 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001765/0.268, allocations: 1.323 MB / 0.9965 GB, free: 8.719 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.897e-06/0.2681, allocations: 0 / 0.9965 GB, free: 8.719 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/0.2695, allocations: 379.9 kB / 0.9968 GB, free: 8.328 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.2697, allocations: 116.7 kB / 0.9969 GB, free: 8.195 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.734e-05/0.2698, allocations: 8 kB / 0.997 GB, free: 8.188 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003228/0.2701, allocations: 23.97 kB / 0.997 GB, free: 8.164 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.769e-05/0.2702, allocations: 11.98 kB / 0.997 GB, free: 8.152 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.2702, allocations: 4 kB / 0.997 GB, free: 8.148 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002106/0.2704, allocations: 182 kB / 0.9972 GB, free: 7.973 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.6e-07/0.2705, allocations: 0 / 0.9972 GB, free: 7.973 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007784/0.2712, allocations: 147.5 kB / 0.9973 GB, free: 7.828 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001301/0.2714, allocations: 103.2 kB / 0.9974 GB, free: 7.719 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001653/0.2731, allocations: 0.5246 MB / 0.9979 GB, free: 7.184 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.2731, allocations: 3.938 kB / 0.9979 GB, free: 7.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005638/0.2737, allocations: 226.6 kB / 0.9981 GB, free: 6.945 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006506/0.2744, allocations: 67.75 kB / 0.9982 GB, free: 6.879 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.2757, allocations: 0.6494 MB / 0.9988 GB, free: 6.199 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.276, allocations: 0.8111 MB / 0.9996 GB, free: 5.359 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004216/0.2764, allocations: 78.2 kB / 0.9997 GB, free: 5.281 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.139e-05/0.2765, allocations: 23.44 kB / 0.9997 GB, free: 5.262 MB / 0.6198 GB Notification: Performance of SimCode: time 1.102e-06/0.2765, allocations: 0 / 0.9997 GB, free: 5.262 MB / 0.6198 GB Notification: Performance of Templates: time 0.009401/0.2859, allocations: 3.057 MB / 1.003 GB, free: 2.238 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)