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.001305/0.001305, allocations: 106.8 kB / 16.41 MB, free: 6.453 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.001351/0.001351, allocations: 185.7 kB / 17.34 MB, free: 5.719 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.292/1.292, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002107/0.002106, allocations: 291.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8969/0.8969, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 91.86 kB / 0.6821 GB, free: 6.91 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4084/0.4102, allocations: 86.99 MB / 0.7671 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegStep): time 0.001692/0.412, allocations: 0.5747 MB / 0.7677 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002567/0.4122, allocations: 47.78 kB / 0.7677 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.551e-05/0.4123, allocations: 0 / 0.7677 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.563e-05/0.4123, allocations: 0 / 0.7677 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.681e-06/0.4123, allocations: 4 kB / 0.7677 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002268/0.4125, allocations: 19.91 kB / 0.7677 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.925e-05/0.4126, allocations: 0 / 0.7677 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.404e-05/0.4126, allocations: 4 kB / 0.7677 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.698e-05/0.4127, allocations: 4 kB / 0.7677 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.385e-05/0.4127, allocations: 0 / 0.7677 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.858e-06/0.4127, allocations: 3.938 kB / 0.7677 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.4128, allocations: 23.98 kB / 0.7678 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.21e-05/0.4128, allocations: 0 / 0.7678 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.757e-05/0.4129, allocations: 3.938 kB / 0.7678 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.034e-05/0.4129, allocations: 15.95 kB / 0.7678 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4129, allocations: 0 / 0.7678 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.583e-06/0.413, allocations: 4 kB / 0.7678 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.401e-06/0.413, allocations: 0 / 0.7678 GB, free: 3.188 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.000262/0.4132, allocations: 315.6 kB / 0.7681 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.4133, allocations: 12.06 kB / 0.7681 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002505/0.4135, allocations: 20.89 kB / 0.7681 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.053e-05/0.4136, allocations: 160.4 kB / 0.7683 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.4136, allocations: 384 / 0.7683 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.116e-06/0.4137, allocations: 4.312 kB / 0.7683 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.4138, allocations: 38.25 kB / 0.7683 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.4138, allocations: 4.188 kB / 0.7683 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.4138, allocations: 3.938 kB / 0.7683 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.4138, allocations: 4 kB / 0.7683 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.851e-05/0.4139, allocations: 7.984 kB / 0.7683 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001309/0.4141, allocations: 145.7 kB / 0.7685 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.057e-05/0.4141, allocations: 22.59 kB / 0.7685 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.464e-05/0.4142, allocations: 16.86 kB / 0.7685 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.4142, allocations: 3.984 kB / 0.7685 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.4142, allocations: 34.56 kB / 0.7685 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.4142, allocations: 0 / 0.7685 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0002137/0.4145, allocations: 45.62 kB / 0.7686 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.4145, allocations: 55.53 kB / 0.7686 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.509e-05/0.4146, allocations: 97.84 kB / 0.7687 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.4146, allocations: 25.7 kB / 0.7688 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.042e-05/0.4146, allocations: 80.14 kB / 0.7688 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.4147, allocations: 11.5 kB / 0.7688 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.4147, allocations: 13.72 kB / 0.7689 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.878e-05/0.4148, allocations: 314.8 kB / 0.7692 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.51e-05/0.4148, allocations: 7.922 kB / 0.7692 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.286e-05/0.4149, allocations: 8 kB / 0.7692 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.723e-05/0.415, allocations: 16.84 kB / 0.7692 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.415, allocations: 0 / 0.7692 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001256/0.4151, allocations: 37.69 kB / 0.7692 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.4151, allocations: 8 kB / 0.7692 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.4152, allocations: 0 / 0.7692 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.4152, allocations: 4.031 kB / 0.7692 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-05/0.4152, allocations: 11.98 kB / 0.7692 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.4153, allocations: 3.938 kB / 0.7692 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.166e-05/0.4153, allocations: 0 / 0.7692 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.4153, allocations: 0 / 0.7692 GB, free: 1.461 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.007e-05/0.4154, allocations: 120.2 kB / 0.7694 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-06/0.4154, allocations: 0 / 0.7694 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.846e-05/0.4154, allocations: 11.05 kB / 0.7694 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.4154, allocations: 0 / 0.7694 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.4154, allocations: 4 kB / 0.7694 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.4154, allocations: 0 / 0.7694 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.055e-05/0.4155, allocations: 141.7 kB / 0.7695 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4155, allocations: 4 kB / 0.7695 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.397e-05/0.4156, allocations: 3.984 kB / 0.7695 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4156, allocations: 0 / 0.7695 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.4156, allocations: 7.938 kB / 0.7695 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.4156, allocations: 0 / 0.7695 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4156, allocations: 0 / 0.7695 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.4158, allocations: 65.12 kB / 0.7696 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.146e-05/0.4158, allocations: 81.09 kB / 0.7697 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.4158, allocations: 7.938 kB / 0.7697 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.872e-05/0.4159, allocations: 0 / 0.7697 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.4159, allocations: 7.938 kB / 0.7697 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.4159, allocations: 0 / 0.7697 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.198e-05/0.4159, allocations: 75.28 kB / 0.7698 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.393e-06/0.4159, allocations: 4.031 kB / 0.7698 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001688/0.4161, allocations: 7.938 kB / 0.7698 GB, free: 0.8398 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.0001037/0.4162, allocations: 95.25 kB / 0.7699 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001332/0.4163, allocations: 15.97 kB / 0.7699 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4163, allocations: 0 / 0.7699 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.097e-05/0.4164, allocations: 8 kB / 0.7699 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.4165, allocations: 14.92 kB / 0.7699 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002451/0.4168, allocations: 106.8 kB / 0.77 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002096/0.417, allocations: 0.669 MB / 0.7706 GB, free: 15.87 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.718e-05/0.417, allocations: 11.42 kB / 0.7707 GB, free: 15.86 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.417, allocations: 3.938 kB / 0.7707 GB, free: 15.85 MB / 0.545 GB Notification: Performance of Templates: time 0.001408/0.4184, allocations: 387.8 kB / 0.771 GB, free: 15.48 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)