Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad") translateModel(BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 104.1 kB / 16.35 MB, free: 5.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 189.4 kB / 17.29 MB, free: 5.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002109/0.002109, allocations: 296.1 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9633/0.9633, allocations: 169.3 MB / 0.4989 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 99.11 kB / 0.5967 GB, free: 14.36 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1567, allocations: 86.97 MB / 0.6816 GB, free: 7.379 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad): time 0.005048/0.1618, allocations: 3.85 MB / 0.6854 GB, free: 3.508 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002663/0.1645, allocations: 1.765 MB / 0.6871 GB, free: 1.734 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.1646, allocations: 11.94 kB / 0.6871 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.1659, allocations: 449 kB / 0.6875 GB, free: 1.285 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004544/0.1664, allocations: 238.8 kB / 0.6877 GB, free: 1.051 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005375/0.167, allocations: 263.5 kB / 0.688 GB, free: 0.793 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000478/0.1674, allocations: 0.4906 MB / 0.6885 GB, free: 308 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2757/0.4431, allocations: 351.4 kB / 0.6888 GB, free: 13.56 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004839/0.4436, allocations: 197.2 kB / 0.689 GB, free: 13.56 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005803/0.4442, allocations: 234.7 kB / 0.6892 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.4444, allocations: 29.25 kB / 0.6892 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004587/0.4448, allocations: 186.3 kB / 0.6894 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001924/0.445, allocations: 134.7 kB / 0.6896 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002893/0.4453, allocations: 180.2 kB / 0.6897 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008624/0.4462, allocations: 493.2 kB / 0.6902 GB, free: 13.42 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.4462, allocations: 4.688 kB / 0.6902 GB, free: 13.42 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.4462, allocations: 3.938 kB / 0.6902 GB, free: 13.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.162e-05/0.4463, allocations: 0 / 0.6902 GB, free: 13.41 MB / 494.1 MB 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.001356/0.4476, allocations: 0.6539 MB / 0.6908 GB, free: 12.96 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.4477, allocations: 11.12 kB / 0.6909 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006692/0.4483, allocations: 81.86 kB / 0.6909 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004505/0.4488, allocations: 310.4 kB / 0.6912 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/0.4488, allocations: 19.75 kB / 0.6912 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.635e-05/0.4489, allocations: 28.73 kB / 0.6913 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008591/0.4498, allocations: 494.9 kB / 0.6917 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.4498, allocations: 3.469 kB / 0.6918 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.598e-05/0.4498, allocations: 13.52 kB / 0.6918 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-05/0.4499, allocations: 39 kB / 0.6918 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000797/0.4507, allocations: 366.9 kB / 0.6922 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001978/0.4527, allocations: 2.037 MB / 0.6941 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005385/0.4532, allocations: 213.8 kB / 0.6943 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003559/0.4536, allocations: 158.3 kB / 0.6945 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.4537, allocations: 2.672 kB / 0.6945 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.4537, allocations: 32.34 kB / 0.6945 GB, free: 11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.322e-06/0.4537, allocations: 0 / 0.6945 GB, free: 11 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.001019/0.4547, allocations: 426.4 kB / 0.6949 GB, free: 10.85 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.4547, allocations: 53.34 kB / 0.695 GB, free: 10.79 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/0.455, allocations: 259.5 kB / 0.6952 GB, free: 10.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.455, allocations: 36.61 kB / 0.6953 GB, free: 10.65 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.916e-05/0.4551, allocations: 211.7 kB / 0.6955 GB, free: 10.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.195e-05/0.4552, allocations: 60.77 kB / 0.6955 GB, free: 10.46 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.664e-05/0.4553, allocations: 58.34 kB / 0.6956 GB, free: 10.44 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.112e-05/0.4554, allocations: 339 kB / 0.6959 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/0.4556, allocations: 101 kB / 0.696 GB, free: 10.11 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002728/0.4559, allocations: 209.5 kB / 0.6962 GB, free: 9.977 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004952/0.4564, allocations: 311.8 kB / 0.6965 GB, free: 9.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.4564, allocations: 1.438 kB / 0.6965 GB, free: 9.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007535/0.4572, allocations: 353.4 kB / 0.6968 GB, free: 9.746 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.4572, allocations: 8.844 kB / 0.6968 GB, free: 9.746 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.4572, allocations: 4.281 kB / 0.6969 GB, free: 9.746 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002047/0.4574, allocations: 40.77 kB / 0.6969 GB, free: 9.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002714/0.4577, allocations: 64.19 kB / 0.697 GB, free: 9.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009327/0.4586, allocations: 1.435 MB / 0.6984 GB, free: 8.324 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002691/0.4589, allocations: 48.56 kB / 0.6984 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.39e-05/0.459, allocations: 12.03 kB / 0.6984 GB, free: 8.297 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003142/0.4593, allocations: 215.8 kB / 0.6986 GB, free: 8.176 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002529/0.4595, allocations: 215.7 kB / 0.6988 GB, free: 7.992 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000436/0.46, allocations: 313.5 kB / 0.6991 GB, free: 7.785 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.296e-06/0.46, allocations: 2.219 kB / 0.6991 GB, free: 7.785 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005978/0.4606, allocations: 342.5 kB / 0.6994 GB, free: 7.672 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.4606, allocations: 7.5 kB / 0.6995 GB, free: 7.672 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.4606, allocations: 3.469 kB / 0.6995 GB, free: 7.672 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.436e-06/0.4606, allocations: 6.156 kB / 0.6995 GB, free: 7.672 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.4609, allocations: 71.06 kB / 0.6995 GB, free: 7.668 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.4609, allocations: 9.797 kB / 0.6995 GB, free: 7.668 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/0.4611, allocations: 38.61 kB / 0.6996 GB, free: 7.652 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.4612, allocations: 13.88 kB / 0.6996 GB, free: 7.648 MB / 494.1 MB 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 8.126e-05/0.4613, allocations: 207.2 kB / 0.6998 GB, free: 7.449 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.029e-05/0.4613, allocations: 27.84 kB / 0.6998 GB, free: 7.434 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.726e-05/0.4614, allocations: 32.42 kB / 0.6998 GB, free: 7.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4614, allocations: 1.938 kB / 0.6998 GB, free: 7.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4614, allocations: 0.6094 kB / 0.6999 GB, free: 7.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.4614, allocations: 1.078 kB / 0.6999 GB, free: 7.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.4625, allocations: 0.7527 MB / 0.7006 GB, free: 6.898 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4625, allocations: 4.688 kB / 0.7006 GB, free: 6.895 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.4627, allocations: 43.83 kB / 0.7006 GB, free: 6.891 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.552e-05/0.4628, allocations: 26.56 kB / 0.7007 GB, free: 6.879 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.4628, allocations: 1.312 kB / 0.7007 GB, free: 6.879 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006889/0.4635, allocations: 1.422 MB / 0.702 GB, free: 5.473 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4635, allocations: 4 kB / 0.7021 GB, free: 5.469 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005453/0.4641, allocations: 370.5 kB / 0.7024 GB, free: 5.242 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.756e-05/0.4642, allocations: 119.2 kB / 0.7025 GB, free: 5.129 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.4642, allocations: 1.312 kB / 0.7025 GB, free: 5.129 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.4644, allocations: 23.44 kB / 0.7025 GB, free: 5.121 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.166e-05/0.4645, allocations: 21.31 kB / 0.7026 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.4645, allocations: 3.688 kB / 0.7026 GB, free: 5.113 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001788/0.4647, allocations: 187.6 kB / 0.7027 GB, free: 5.004 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4647, allocations: 0 / 0.7027 GB, free: 5.004 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006148/0.4653, allocations: 144.8 kB / 0.7029 GB, free: 4.969 MB / 494.1 MB 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000115/0.4654, allocations: 107.6 kB / 0.703 GB, free: 4.871 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.4665, allocations: 485.8 kB / 0.7034 GB, free: 4.691 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.4665, allocations: 1.031 kB / 0.7035 GB, free: 4.691 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003144/0.4668, allocations: 231.2 kB / 0.7037 GB, free: 4.551 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004739/0.4673, allocations: 75.44 kB / 0.7037 GB, free: 4.531 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000828/0.4681, allocations: 0.5388 MB / 0.7043 GB, free: 4.211 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.4684, allocations: 0.8028 MB / 0.7051 GB, free: 3.496 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002115/0.4686, allocations: 69.22 kB / 0.7051 GB, free: 3.488 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.14e-05/0.4687, allocations: 23 kB / 0.7051 GB, free: 3.48 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4687, allocations: 0 / 0.7051 GB, free: 3.48 MB / 494.1 MB Notification: Performance of Templates: time 0.009289/0.478, allocations: 3.539 MB / 0.7086 GB, free: 3.27 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)