Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.778/1.778, allocations: 288.4 MB / 303.7 MB, free: 8.152 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.0009606/0.0009606, allocations: 176.5 kB / 372.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.496/1.496, allocations: 205.4 MB / 0.631 GB, free: 9.891 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.0008351/0.0008351, allocations: 107.2 kB / 0.7444 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000388/0.0003881, allocations: 14.66 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2409, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.003908/0.2448, allocations: 3.351 MB / 0.9834 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002382/0.2473, allocations: 1.677 MB / 0.985 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003242/0.2476, allocations: 7.938 kB / 0.985 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002961/0.2479, allocations: 59.56 kB / 0.9851 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006913/0.2486, allocations: 219 kB / 0.9853 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000694/0.2494, allocations: 204.7 kB / 0.9855 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007079/0.2501, allocations: 0.5647 MB / 0.9861 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005404/0.2506, allocations: 361.5 kB / 0.9864 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003049/0.2509, allocations: 159.4 kB / 0.9865 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004271/0.2514, allocations: 223.2 kB / 0.9868 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.636e-05/0.2514, allocations: 12 kB / 0.9868 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004775/0.2519, allocations: 219.5 kB / 0.987 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.2521, allocations: 115.7 kB / 0.9871 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001815/0.2523, allocations: 169 kB / 0.9873 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004821/0.2528, allocations: 371.3 kB / 0.9876 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.2528, allocations: 0 / 0.9876 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.855e-06/0.2528, allocations: 0 / 0.9876 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.495e-05/0.2528, allocations: 7.938 kB / 0.9876 GB, free: 19.61 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.001081/0.2539, allocations: 0.6081 MB / 0.9882 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.254, allocations: 8.031 kB / 0.9882 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006152/0.2546, allocations: 92.41 kB / 0.9883 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/0.255, allocations: 287.4 kB / 0.9886 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.255, allocations: 21.03 kB / 0.9886 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.367e-05/0.2551, allocations: 36.34 kB / 0.9886 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007163/0.2558, allocations: 494 kB / 0.9891 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.2558, allocations: 0 / 0.9891 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.262e-05/0.2558, allocations: 12 kB / 0.9891 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.166e-05/0.2559, allocations: 40.62 kB / 0.9892 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006785/0.2566, allocations: 394.2 kB / 0.9895 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001869/0.2585, allocations: 2.048 MB / 0.9915 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005327/0.259, allocations: 220.8 kB / 0.9917 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003504/0.2594, allocations: 172.8 kB / 0.9919 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.2594, allocations: 8 kB / 0.9919 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.2594, allocations: 30.56 kB / 0.9919 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.775e-06/0.2595, allocations: 0 / 0.9919 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.001004/0.2605, allocations: 460.7 kB / 0.9924 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.2605, allocations: 59.34 kB / 0.9924 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.2607, allocations: 262.6 kB / 0.9927 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.2607, allocations: 29.7 kB / 0.9927 GB, free: 14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.285e-05/0.2608, allocations: 207.8 kB / 0.9929 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.2609, allocations: 63.09 kB / 0.993 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.038e-05/0.2609, allocations: 4 kB / 0.993 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.603e-05/0.2609, allocations: 338.8 kB / 0.9933 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.2612, allocations: 104.4 kB / 0.9934 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002528/0.2615, allocations: 223.4 kB / 0.9936 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004583/0.2619, allocations: 327 kB / 0.9939 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.2619, allocations: 0 / 0.9939 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006801/0.2626, allocations: 377.8 kB / 0.9943 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.976e-05/0.2627, allocations: 199.2 kB / 0.9945 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.2627, allocations: 4 kB / 0.9945 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002094/0.2629, allocations: 36.84 kB / 0.9945 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/0.2632, allocations: 67.89 kB / 0.9946 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/0.2643, allocations: 1.333 MB / 0.9959 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002669/0.2645, allocations: 55.73 kB / 0.9959 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.2646, allocations: 15.98 kB / 0.996 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.308e-06/0.2646, allocations: 4 kB / 0.996 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005894/0.2652, allocations: 297.2 kB / 0.9962 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.2652, allocations: 8.094 kB / 0.9962 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.49e-06/0.2652, allocations: 4 kB / 0.9963 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/0.2655, allocations: 79.83 kB / 0.9963 GB, free: 9.988 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.2655, allocations: 7.938 kB / 0.9963 GB, free: 9.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.2657, allocations: 43.73 kB / 0.9964 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.2657, allocations: 12 kB / 0.9964 GB, free: 9.926 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.0001911/0.2659, allocations: 253 kB / 0.9966 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.958e-05/0.266, allocations: 23.72 kB / 0.9967 GB, free: 9.645 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.563e-05/0.266, allocations: 38.11 kB / 0.9967 GB, free: 9.613 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.266, allocations: 0 / 0.9967 GB, free: 9.613 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.2661, allocations: 0 / 0.9967 GB, free: 9.613 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2661, allocations: 3.984 kB / 0.9967 GB, free: 9.609 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.2671, allocations: 0.7702 MB / 0.9974 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2671, allocations: 0 / 0.9974 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/0.2673, allocations: 47.91 kB / 0.9975 GB, free: 8.715 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001038/0.2674, allocations: 36.83 kB / 0.9975 GB, free: 8.676 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.2674, allocations: 4 kB / 0.9975 GB, free: 8.672 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006521/0.2681, allocations: 1.319 MB / 0.9988 GB, free: 7.219 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2681, allocations: 3.938 kB / 0.9988 GB, free: 7.215 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005253/0.2686, allocations: 382.8 kB / 0.9992 GB, free: 6.816 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.2687, allocations: 120.8 kB / 0.9993 GB, free: 6.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.2688, allocations: 7.938 kB / 0.9993 GB, free: 6.672 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.2689, allocations: 15.98 kB / 0.9993 GB, free: 6.656 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.184e-05/0.269, allocations: 23.97 kB / 0.9993 GB, free: 6.633 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-05/0.269, allocations: 4 kB / 0.9994 GB, free: 6.629 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001293/0.2692, allocations: 186 kB / 0.9995 GB, free: 6.445 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2e-07/0.2692, allocations: 3.938 kB / 0.9995 GB, free: 6.441 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005362/0.2697, allocations: 147.5 kB / 0.9997 GB, free: 6.297 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 17 * 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.0001078/0.2698, allocations: 99.25 kB / 0.9998 GB, free: 6.191 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009415/0.2708, allocations: 0.5051 MB / 1 GB, free: 5.676 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2708, allocations: 0 / 1 GB, free: 5.676 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002861/0.2711, allocations: 235.2 kB / 1 GB, free: 5.434 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/0.2716, allocations: 58.2 kB / 1.001 GB, free: 5.379 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009649/0.2726, allocations: 0.6753 MB / 1.001 GB, free: 4.672 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.2729, allocations: 0.8073 MB / 1.002 GB, free: 3.836 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000309/0.2732, allocations: 66.22 kB / 1.002 GB, free: 3.77 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.308e-05/0.2732, allocations: 23.44 kB / 1.002 GB, free: 3.75 MB / 0.6198 GB Notification: Performance of SimCode: time 5.41e-07/0.2733, allocations: 0 / 1.002 GB, free: 3.75 MB / 0.6198 GB Notification: Performance of Templates: time 0.006433/0.2797, allocations: 3.155 MB / 1.005 GB, free: 0.625 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)