Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.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.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 111.1 kB / 16.41 MB, free: 6.492 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.001904/0.001904, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.422/1.422, 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.004186/0.004186, allocations: 289.5 kB / 291.5 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 1.021/1.021, allocations: 169.2 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002696/0.002696, allocations: 103.8 kB / 0.6822 GB, free: 6.918 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4261/0.4288, allocations: 86.98 MB / 0.7671 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegStep): time 0.001515/0.4304, allocations: 0.5669 MB / 0.7677 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00024/0.4306, allocations: 51.78 kB / 0.7677 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.366e-05/0.4306, allocations: 0 / 0.7677 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.393e-05/0.4306, allocations: 4 kB / 0.7677 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.14e-06/0.4306, allocations: 0 / 0.7677 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.4308, allocations: 23.91 kB / 0.7677 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.072e-05/0.4309, allocations: 4 kB / 0.7677 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.469e-05/0.4309, allocations: 0 / 0.7677 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.09e-05/0.4309, allocations: 0 / 0.7677 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.753e-05/0.4309, allocations: 3.938 kB / 0.7677 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.995e-06/0.4309, allocations: 0 / 0.7677 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.431, allocations: 23.97 kB / 0.7678 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.135e-05/0.431, allocations: 4 kB / 0.7678 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.309e-05/0.4311, allocations: 3.938 kB / 0.7678 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 7.444e-05/0.4311, allocations: 19.97 kB / 0.7678 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.4311, allocations: 0 / 0.7678 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.133e-06/0.4311, allocations: 0 / 0.7678 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.4311, allocations: 0 / 0.7678 GB, free: 3.191 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003031/0.4314, allocations: 319.4 kB / 0.7681 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.4315, allocations: 8.031 kB / 0.7681 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002339/0.4317, allocations: 20.91 kB / 0.7681 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.4318, allocations: 160.4 kB / 0.7683 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.4318, allocations: 4.375 kB / 0.7683 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.4318, allocations: 384 / 0.7683 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.432, allocations: 34.25 kB / 0.7683 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.432, allocations: 192 / 0.7683 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.432, allocations: 3.938 kB / 0.7683 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.432, allocations: 0 / 0.7683 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.8e-05/0.4321, allocations: 15.92 kB / 0.7683 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000153/0.4322, allocations: 153.7 kB / 0.7685 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.94e-05/0.4323, allocations: 18.61 kB / 0.7685 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.449e-05/0.4324, allocations: 12.91 kB / 0.7685 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.4324, allocations: 0 / 0.7685 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.4324, allocations: 34.56 kB / 0.7685 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.4324, allocations: 0 / 0.7685 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0002306/0.4327, allocations: 61.55 kB / 0.7686 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.4327, allocations: 51.41 kB / 0.7686 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.047e-05/0.4327, allocations: 89.86 kB / 0.7687 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.4328, allocations: 25.7 kB / 0.7688 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.229e-05/0.4328, allocations: 80.14 kB / 0.7688 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.4328, allocations: 7.891 kB / 0.7688 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.4329, allocations: 13.72 kB / 0.7689 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.433, allocations: 315 kB / 0.7692 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.733e-05/0.4331, allocations: 7.984 kB / 0.7692 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.087e-05/0.4331, allocations: 4 kB / 0.7692 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.111e-05/0.4332, allocations: 16.84 kB / 0.7692 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.4332, allocations: 3.938 kB / 0.7692 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001296/0.4333, allocations: 45.75 kB / 0.7692 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.4333, allocations: 10.8 kB / 0.7692 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.4333, allocations: 0 / 0.7692 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.4333, allocations: 3.938 kB / 0.7692 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.354e-05/0.4334, allocations: 7.938 kB / 0.7692 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.4334, allocations: 0 / 0.7692 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.185e-05/0.4334, allocations: 0 / 0.7692 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.4334, allocations: 4 kB / 0.7693 GB, free: 1.469 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.982e-05/0.4335, allocations: 116.3 kB / 0.7694 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.544e-06/0.4335, allocations: 0 / 0.7694 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.858e-05/0.4336, allocations: 11.06 kB / 0.7694 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.4336, allocations: 0 / 0.7694 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.4336, allocations: 0 / 0.7694 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.4336, allocations: 4 kB / 0.7694 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.4337, allocations: 145.7 kB / 0.7695 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.4337, allocations: 0 / 0.7695 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.411e-05/0.4337, allocations: 4 kB / 0.7695 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.4337, allocations: 0 / 0.7695 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.4337, allocations: 7.938 kB / 0.7695 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.4337, allocations: 3.938 kB / 0.7695 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4337, allocations: 0 / 0.7695 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.4339, allocations: 69.11 kB / 0.7696 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.165e-05/0.4339, allocations: 77.11 kB / 0.7697 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.434, allocations: 3.938 kB / 0.7697 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.139e-05/0.434, allocations: 32 / 0.7697 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.434, allocations: 8 kB / 0.7697 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.434, allocations: 0 / 0.7697 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.166e-05/0.434, allocations: 75.28 kB / 0.7698 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.434, allocations: 0 / 0.7698 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001782/0.4342, allocations: 3.938 kB / 0.7698 GB, free: 0.8594 MB / 0.5294 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001179/0.4343, allocations: 106.8 kB / 0.7699 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001407/0.4345, allocations: 19.92 kB / 0.7699 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4345, allocations: 0 / 0.7699 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.538e-05/0.4345, allocations: 4 kB / 0.7699 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001203/0.4346, allocations: 0 / 0.7699 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002433/0.4349, allocations: 85.05 kB / 0.77 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.4352, allocations: 0.6767 MB / 0.7706 GB, free: 15.91 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.1e-05/0.4352, allocations: 8.125 kB / 0.7706 GB, free: 15.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.805e-05/0.4353, allocations: 7.438 kB / 0.7706 GB, free: 15.89 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.4353, allocations: 0 / 0.7706 GB, free: 15.89 MB / 0.545 GB Notification: Performance of Templates: time 0.002124/0.4374, allocations: 237.7 kB / 0.7709 GB, free: 15.66 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)