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 1.65/1.65, allocations: 287.5 MB / 302.6 MB, free: 8.25 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.001165/0.001165, allocations: 184.9 kB / 371.2 MB, free: 10.83 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.548/1.548, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0007866/0.0007866, allocations: 99.12 kB / 0.7432 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004756/0.0004757, allocations: 10.72 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2254, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.004904/0.2304, allocations: 3.355 MB / 0.9819 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003098/0.2335, allocations: 1.669 MB / 0.9836 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003345/0.2339, allocations: 8 kB / 0.9836 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003005/0.2342, allocations: 59.5 kB / 0.9836 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006927/0.2349, allocations: 191.1 kB / 0.9838 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007267/0.2357, allocations: 193.7 kB / 0.984 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007614/0.2365, allocations: 0.5724 MB / 0.9846 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004963/0.237, allocations: 357.5 kB / 0.9849 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003069/0.2373, allocations: 159.4 kB / 0.9851 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004661/0.2378, allocations: 215.2 kB / 0.9853 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.126e-05/0.2379, allocations: 16 kB / 0.9853 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002955/0.2382, allocations: 87.88 kB / 0.9854 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.2383, allocations: 119.7 kB / 0.9855 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.557e-05/0.2384, allocations: 85.52 kB / 0.9856 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00045/0.2389, allocations: 359.4 kB / 0.9859 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2389, allocations: 0 / 0.9859 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2389, allocations: 0 / 0.9859 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.005e-05/0.2389, allocations: 3.938 kB / 0.9859 GB, free: 20.74 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.001156/0.2401, allocations: 0.6081 MB / 0.9865 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.2402, allocations: 12.03 kB / 0.9865 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007185/0.2409, allocations: 84.41 kB / 0.9866 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004268/0.2413, allocations: 291.4 kB / 0.9869 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.921e-05/0.2414, allocations: 21.03 kB / 0.9869 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.905e-05/0.2414, allocations: 32.38 kB / 0.9869 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009771/0.2424, allocations: 0.4941 MB / 0.9874 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.2425, allocations: 0 / 0.9874 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.158e-05/0.2425, allocations: 12 kB / 0.9874 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.237e-05/0.2426, allocations: 40.62 kB / 0.9874 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009491/0.2435, allocations: 382.2 kB / 0.9878 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002263/0.2458, allocations: 2.048 MB / 0.9898 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000672/0.2465, allocations: 225.2 kB / 0.99 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004677/0.247, allocations: 176.7 kB / 0.9902 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.247, allocations: 4 kB / 0.9902 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.2471, allocations: 34.56 kB / 0.9902 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.064e-06/0.2471, allocations: 0 / 0.9902 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.001398/0.2485, allocations: 455 kB / 0.9907 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.2485, allocations: 51.41 kB / 0.9907 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003355/0.2489, allocations: 270.5 kB / 0.991 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.2489, allocations: 33.64 kB / 0.991 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.2491, allocations: 203.8 kB / 0.9912 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.417e-05/0.2492, allocations: 67.09 kB / 0.9913 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.519e-05/0.2492, allocations: 4 kB / 0.9913 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.2493, allocations: 338.8 kB / 0.9916 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003161/0.2496, allocations: 100.5 kB / 0.9917 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003668/0.25, allocations: 215.5 kB / 0.9919 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006663/0.2507, allocations: 335.9 kB / 0.9922 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.2507, allocations: 4 kB / 0.9922 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009538/0.2517, allocations: 377.9 kB / 0.9926 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001203/0.2518, allocations: 190 kB / 0.9928 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.2518, allocations: 4 kB / 0.9928 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002749/0.2521, allocations: 36.83 kB / 0.9928 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004062/0.2525, allocations: 71.89 kB / 0.9929 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/0.2537, allocations: 1.336 MB / 0.9942 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003618/0.2541, allocations: 47.58 kB / 0.9942 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.2541, allocations: 12 kB / 0.9942 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.604e-06/0.2541, allocations: 0 / 0.9942 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007633/0.2549, allocations: 301.2 kB / 0.9945 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2549, allocations: 4 kB / 0.9945 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.045e-06/0.255, allocations: 8 kB / 0.9945 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000355/0.2553, allocations: 84.02 kB / 0.9946 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.2553, allocations: 7.938 kB / 0.9946 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003065/0.2557, allocations: 43.72 kB / 0.9947 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.2557, allocations: 12 kB / 0.9947 GB, free: 11.06 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.0002433/0.256, allocations: 249 kB / 0.9949 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.166e-05/0.256, allocations: 23.72 kB / 0.9949 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.907e-05/0.2561, allocations: 42.11 kB / 0.995 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2561, allocations: 0 / 0.995 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.2561, allocations: 4 kB / 0.995 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.2561, allocations: 0 / 0.995 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/0.2576, allocations: 0.7655 MB / 0.9957 GB, free: 9.898 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.2576, allocations: 4 kB / 0.9957 GB, free: 9.895 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.2578, allocations: 48.03 kB / 0.9958 GB, free: 9.848 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001265/0.258, allocations: 24.84 kB / 0.9958 GB, free: 9.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.258, allocations: 8 kB / 0.9958 GB, free: 9.812 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008441/0.2589, allocations: 1.323 MB / 0.9971 GB, free: 8.355 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.2589, allocations: 3.938 kB / 0.9971 GB, free: 8.352 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000746/0.2596, allocations: 389.8 kB / 0.9975 GB, free: 7.945 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.2598, allocations: 112.8 kB / 0.9976 GB, free: 7.816 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.419e-05/0.2598, allocations: 11.92 kB / 0.9976 GB, free: 7.805 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.2601, allocations: 15.98 kB / 0.9976 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.241e-05/0.2602, allocations: 19.98 kB / 0.9976 GB, free: 7.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.2602, allocations: 4 kB / 0.9976 GB, free: 7.766 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001961/0.2604, allocations: 186 kB / 0.9978 GB, free: 7.582 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2604, allocations: 0 / 0.9978 GB, free: 7.582 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007974/0.2612, allocations: 143.5 kB / 0.9979 GB, free: 7.441 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.0001178/0.2613, allocations: 104.2 kB / 0.998 GB, free: 7.332 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001279/0.2626, allocations: 0.5172 MB / 0.9985 GB, free: 6.805 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2627, allocations: 3.938 kB / 0.9985 GB, free: 6.801 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004071/0.2631, allocations: 222.6 kB / 0.9988 GB, free: 6.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006858/0.2638, allocations: 65.91 kB / 0.9988 GB, free: 6.512 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.2649, allocations: 0.6765 MB / 0.9995 GB, free: 5.801 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.2652, allocations: 0.7995 MB / 1 GB, free: 4.973 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003407/0.2655, allocations: 70.22 kB / 1 GB, free: 4.902 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.465e-05/0.2656, allocations: 27.44 kB / 1 GB, free: 4.879 MB / 0.6198 GB Notification: Performance of SimCode: time 2.8e-07/0.2656, allocations: 0 / 1 GB, free: 4.879 MB / 0.6198 GB Notification: Performance of Templates: time 0.008241/0.2739, allocations: 3.12 MB / 1.003 GB, free: 1.789 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)