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.001255/0.001255, allocations: 104.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.00138/0.00138, allocations: 185.6 kB / 17.34 MB, free: 5.77 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.257/1.257, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002184/0.002184, allocations: 289.8 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 0.897/0.897, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 99.84 kB / 0.6822 GB, free: 6.922 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4121, allocations: 86.97 MB / 0.7671 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegStep): time 0.001449/0.4136, allocations: 0.5707 MB / 0.7676 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002297/0.4138, allocations: 47.84 kB / 0.7677 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.409e-05/0.4139, allocations: 3.938 kB / 0.7677 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.314e-05/0.4139, allocations: 7.938 kB / 0.7677 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.879e-06/0.4139, allocations: 0 / 0.7677 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.4141, allocations: 23.97 kB / 0.7677 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.39e-05/0.4141, allocations: 0 / 0.7677 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.827e-05/0.4142, allocations: 0 / 0.7677 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.187e-05/0.4142, allocations: 0 / 0.7677 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.006e-05/0.4142, allocations: 4 kB / 0.7677 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.385e-06/0.4142, allocations: 0 / 0.7677 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.4143, allocations: 19.97 kB / 0.7677 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.025e-05/0.4144, allocations: 3.938 kB / 0.7677 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.603e-05/0.4144, allocations: 15.94 kB / 0.7678 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 7.33e-05/0.4145, allocations: 11.97 kB / 0.7678 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.4145, allocations: 0 / 0.7678 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4145, allocations: 0 / 0.7678 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.4145, allocations: 0 / 0.7678 GB, free: 3.184 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.0002517/0.4147, allocations: 319.6 kB / 0.7681 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.4148, allocations: 12.03 kB / 0.7681 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002343/0.415, allocations: 16.91 kB / 0.7681 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.929e-05/0.4151, allocations: 164.4 kB / 0.7683 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.4151, allocations: 384 / 0.7683 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.853e-06/0.4151, allocations: 384 / 0.7683 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.4152, allocations: 34.25 kB / 0.7683 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.4153, allocations: 192 / 0.7683 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.4153, allocations: 3.938 kB / 0.7683 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4153, allocations: 4 kB / 0.7683 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.343e-05/0.4154, allocations: 11.98 kB / 0.7683 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001254/0.4155, allocations: 157.6 kB / 0.7685 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.674e-05/0.4156, allocations: 18.61 kB / 0.7685 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.913e-05/0.4156, allocations: 12.91 kB / 0.7685 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.4157, allocations: 0 / 0.7685 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.4157, allocations: 30.56 kB / 0.7685 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 2.144e-06/0.4157, allocations: 11.98 kB / 0.7685 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0002085/0.4159, allocations: 53.55 kB / 0.7686 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.4159, allocations: 51.41 kB / 0.7686 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.493e-05/0.416, allocations: 89.86 kB / 0.7687 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.416, allocations: 33.64 kB / 0.7688 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.76e-05/0.416, allocations: 80.14 kB / 0.7688 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.4161, allocations: 7.562 kB / 0.7688 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.4161, allocations: 13.84 kB / 0.7689 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.101e-05/0.4162, allocations: 314.8 kB / 0.7692 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.354e-05/0.4162, allocations: 3.984 kB / 0.7692 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.515e-05/0.4163, allocations: 4 kB / 0.7692 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.384e-05/0.4164, allocations: 24.78 kB / 0.7692 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4164, allocations: 0 / 0.7692 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000113/0.4165, allocations: 49.67 kB / 0.7692 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.4165, allocations: 4 kB / 0.7692 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.4165, allocations: 4 kB / 0.7692 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.4165, allocations: 3.938 kB / 0.7692 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.904e-05/0.4166, allocations: 0 / 0.7692 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.4166, allocations: 0 / 0.7692 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.072e-05/0.4167, allocations: 4 kB / 0.7692 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.4167, allocations: 3.984 kB / 0.7693 GB, free: 1.449 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 6.114e-05/0.4167, allocations: 112.3 kB / 0.7694 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.236e-06/0.4167, allocations: 4 kB / 0.7694 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.346e-05/0.4168, allocations: 7.062 kB / 0.7694 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.4168, allocations: 0 / 0.7694 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.4168, allocations: 0 / 0.7694 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.4168, allocations: 0 / 0.7694 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.863e-05/0.4169, allocations: 149.7 kB / 0.7695 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.4169, allocations: 0 / 0.7695 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.653e-05/0.4169, allocations: 4 kB / 0.7695 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.4169, allocations: 4 kB / 0.7695 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.417, allocations: 3.938 kB / 0.7695 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.417, allocations: 0 / 0.7695 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.417, allocations: 4 kB / 0.7695 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.4171, allocations: 69.05 kB / 0.7696 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.763e-05/0.4171, allocations: 77.11 kB / 0.7697 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.4171, allocations: 3.938 kB / 0.7697 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.464e-05/0.4172, allocations: 8.031 kB / 0.7697 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.147e-06/0.4172, allocations: 0 / 0.7697 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.4172, allocations: 4 kB / 0.7697 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.398e-05/0.4172, allocations: 83.2 kB / 0.7698 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4172, allocations: 0 / 0.7698 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001746/0.4174, allocations: 4 kB / 0.7698 GB, free: 0.832 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.0001069/0.4175, allocations: 98.34 kB / 0.7699 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000138/0.4177, allocations: 15.98 kB / 0.7699 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.4177, allocations: 0 / 0.7699 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.213e-05/0.4177, allocations: 7.938 kB / 0.7699 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/0.4179, allocations: 6.797 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.0002215/0.4181, allocations: 110.8 kB / 0.77 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000201/0.4183, allocations: 0.669 MB / 0.7706 GB, free: 15.86 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.22e-05/0.4183, allocations: 7.562 kB / 0.7707 GB, free: 15.86 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.4183, allocations: 4 kB / 0.7707 GB, free: 15.85 MB / 0.545 GB Notification: Performance of Templates: time 0.001373/0.4197, allocations: 397.3 kB / 0.771 GB, free: 15.46 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)