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.682/1.682, allocations: 287.4 MB / 303.2 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.001098/0.001098, allocations: 179.1 kB / 371.8 MB, free: 10.82 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.41/1.41, allocations: 205.4 MB / 0.6305 GB, free: 10.57 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.0007613/0.000761, allocations: 86.83 kB / 0.7438 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005205/0.0005206, allocations: 14.81 kB / 0.8667 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2375, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.003249/0.2408, allocations: 3.351 MB / 0.9825 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00203/0.2429, allocations: 1.673 MB / 0.9842 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001616/0.2431, allocations: 7.938 kB / 0.9842 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.2433, allocations: 55.56 kB / 0.9842 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004504/0.2438, allocations: 183.1 kB / 0.9844 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004838/0.2442, allocations: 201.5 kB / 0.9846 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004296/0.2447, allocations: 0.5647 MB / 0.9852 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003474/0.245, allocations: 365.5 kB / 0.9855 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.2452, allocations: 151.4 kB / 0.9857 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000283/0.2455, allocations: 227.2 kB / 0.9859 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.941e-05/0.2455, allocations: 16 kB / 0.9859 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001796/0.2457, allocations: 83.88 kB / 0.986 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.338e-05/0.2458, allocations: 111.7 kB / 0.9861 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.203e-05/0.2459, allocations: 85.52 kB / 0.9862 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002738/0.2462, allocations: 359.4 kB / 0.9865 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2462, allocations: 0 / 0.9865 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2462, allocations: 0 / 0.9865 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.2462, allocations: 0 / 0.9865 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.0008247/0.247, allocations: 0.6158 MB / 0.9871 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.2471, allocations: 8.031 kB / 0.9871 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004474/0.2475, allocations: 84.41 kB / 0.9872 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002878/0.2478, allocations: 299.4 kB / 0.9875 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.2478, allocations: 21.03 kB / 0.9875 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.164e-05/0.2479, allocations: 28.36 kB / 0.9875 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006668/0.2486, allocations: 498 kB / 0.988 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.2486, allocations: 0 / 0.988 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.5e-05/0.2486, allocations: 15.98 kB / 0.988 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.116e-05/0.2487, allocations: 36.64 kB / 0.988 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006485/0.2493, allocations: 390.2 kB / 0.9884 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001643/0.251, allocations: 2.044 MB / 0.9904 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004823/0.2515, allocations: 226.7 kB / 0.9906 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00032/0.2518, allocations: 164.8 kB / 0.9908 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.2519, allocations: 4 kB / 0.9908 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.2519, allocations: 38.56 kB / 0.9908 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.373e-06/0.2519, allocations: 0 / 0.9908 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0009453/0.2528, allocations: 457.5 kB / 0.9913 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.019e-05/0.2529, allocations: 51.41 kB / 0.9913 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.2531, allocations: 266.6 kB / 0.9916 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.2531, allocations: 29.64 kB / 0.9916 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.847e-05/0.2532, allocations: 215.7 kB / 0.9918 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.2532, allocations: 63.09 kB / 0.9919 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.059e-05/0.2533, allocations: 4 kB / 0.9919 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.223e-05/0.2533, allocations: 338.8 kB / 0.9922 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.2536, allocations: 100.5 kB / 0.9923 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.2538, allocations: 223.4 kB / 0.9925 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004526/0.2543, allocations: 325.5 kB / 0.9928 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2543, allocations: 0 / 0.9928 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006582/0.2549, allocations: 380.4 kB / 0.9932 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.874e-05/0.255, allocations: 194.1 kB / 0.9934 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.255, allocations: 7.938 kB / 0.9934 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001862/0.2552, allocations: 36.84 kB / 0.9934 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.2555, allocations: 75.89 kB / 0.9935 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008591/0.2564, allocations: 1.331 MB / 0.9948 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.2566, allocations: 55.66 kB / 0.9948 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.2566, allocations: 16 kB / 0.9948 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.492e-06/0.2566, allocations: 4 kB / 0.9948 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005193/0.2572, allocations: 289.6 kB / 0.9951 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-06/0.2572, allocations: 480 / 0.9951 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.748e-06/0.2572, allocations: 12 kB / 0.9951 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.2574, allocations: 79.83 kB / 0.9952 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.2575, allocations: 7.938 kB / 0.9952 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.2576, allocations: 39.73 kB / 0.9952 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.2577, allocations: 16 kB / 0.9953 GB, free: 11.05 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.0001387/0.2578, allocations: 249 kB / 0.9955 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.248e-05/0.2579, allocations: 27.7 kB / 0.9955 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.301e-05/0.2579, allocations: 30.19 kB / 0.9956 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.2579, allocations: 11.86 kB / 0.9956 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2579, allocations: 0 / 0.9956 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.791e-05/0.258, allocations: 112.8 kB / 0.9957 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.258, allocations: 4 kB / 0.9957 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.2582, allocations: 27.97 kB / 0.9957 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.965e-05/0.2583, allocations: 15.98 kB / 0.9957 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006282/0.2589, allocations: 357.5 kB / 0.9961 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006682/0.2596, allocations: 0.5154 MB / 0.9966 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002002/0.2598, allocations: 103.9 kB / 0.9967 GB, free: 9.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001254/0.26, allocations: 189.9 kB / 0.9968 GB, free: 9.383 MB / 0.6198 GB Notification: Performance of Backend: time 1.273e-06/0.26, allocations: 0 / 0.9968 GB, free: 9.383 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001146/0.2611, allocations: 0.5372 MB / 0.9974 GB, free: 8.828 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0009338/0.2621, allocations: 1.134 MB / 0.9985 GB, free: 7.648 MB / 0.6198 GB Notification: Performance of Templates: time 0.006937/0.269, allocations: 4.308 MB / 1.003 GB, free: 3.367 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)