Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001713/0.001714, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.345/3.345, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 3.253/3.253, allocations: 292.6 MB / 0.5497 GB, free: 14.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009476/0.0009479, allocations: 18.75 kB / 0.6737 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5504/0.5514, allocations: 116.3 MB / 0.7872 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001631/0.5531, allocations: 321.8 kB / 0.7875 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004512/0.5536, allocations: 49.55 kB / 0.7876 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.481e-05/0.5537, allocations: 0 / 0.7876 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.93e-05/0.5537, allocations: 0 / 0.7876 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 1.057e-05/0.5537, allocations: 0 / 0.7876 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004517/0.5542, allocations: 11.98 kB / 0.7876 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.054e-05/0.5543, allocations: 4 kB / 0.7876 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.95e-05/0.5544, allocations: 0 / 0.7876 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.187e-05/0.5545, allocations: 4 kB / 0.7876 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.344e-05/0.5546, allocations: 0 / 0.7876 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.5546, allocations: 0 / 0.7876 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001824/0.5548, allocations: 19.97 kB / 0.7876 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.817e-05/0.5548, allocations: 4 kB / 0.7876 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.429e-05/0.5549, allocations: 25.7 kB / 0.7877 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003226/0.5552, allocations: 23.91 kB / 0.7877 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.5552, allocations: 0 / 0.7877 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of FrontEnd: time 5.411e-06/0.5553, allocations: 0 / 0.7877 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.98e-05/0.5553, allocations: 4 kB / 0.7877 GB, free: 11.39 MB / 0.6075 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.0006746/0.556, allocations: 311.4 kB / 0.788 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001047/0.5561, allocations: 8.031 kB / 0.788 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.635e-05/0.5562, allocations: 30.56 kB / 0.788 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005506/0.5567, allocations: 15.97 kB / 0.788 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003271/0.5571, allocations: 167 kB / 0.7882 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.5571, allocations: 0 / 0.7882 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.5572, allocations: 8 kB / 0.7882 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002397/0.5574, allocations: 37.62 kB / 0.7882 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.5574, allocations: 0 / 0.7882 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.5575, allocations: 0 / 0.7882 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.5575, allocations: 0 / 0.7882 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.5576, allocations: 7.984 kB / 0.7882 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003058/0.5579, allocations: 153.6 kB / 0.7884 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.5581, allocations: 30.53 kB / 0.7884 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.021e-05/0.5582, allocations: 0 / 0.7884 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001071/0.5583, allocations: 30.56 kB / 0.7884 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.163e-06/0.5583, allocations: 0 / 0.7884 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0003898/0.5587, allocations: 49.73 kB / 0.7885 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/0.5588, allocations: 55.47 kB / 0.7885 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.468e-05/0.5588, allocations: 93.86 kB / 0.7886 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.5589, allocations: 25.7 kB / 0.7887 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.237e-05/0.5589, allocations: 80.14 kB / 0.7887 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.506e-05/0.559, allocations: 3.906 kB / 0.7887 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-06/0.559, allocations: 0 / 0.7887 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002319/0.5593, allocations: 314.8 kB / 0.789 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.2e-05/0.5593, allocations: 3.984 kB / 0.789 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.033e-05/0.5594, allocations: 8 kB / 0.7891 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.371e-05/0.5595, allocations: 7.984 kB / 0.7891 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.5595, allocations: 0 / 0.7891 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001936/0.5597, allocations: 45.64 kB / 0.7891 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.5598, allocations: 11.94 kB / 0.7891 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.5598, allocations: 0 / 0.7891 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.673e-05/0.5598, allocations: 0 / 0.7891 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.5599, allocations: 4 kB / 0.7891 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.56, allocations: 12.02 kB / 0.7891 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.621e-05/0.56, allocations: 288 / 0.7891 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.56, allocations: 0 / 0.7891 GB, free: 9.68 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.5602, allocations: 109.8 kB / 0.7892 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.254e-05/0.5602, allocations: 3.953 kB / 0.7892 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.941e-05/0.5602, allocations: 3.125 kB / 0.7892 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.5603, allocations: 0 / 0.7892 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.5603, allocations: 0 / 0.7892 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.5603, allocations: 8 kB / 0.7893 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.5605, allocations: 153.6 kB / 0.7894 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.5605, allocations: 4 kB / 0.7894 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.954e-05/0.5605, allocations: 0 / 0.7894 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.5605, allocations: 3.953 kB / 0.7894 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.5606, allocations: 7.984 kB / 0.7894 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.5606, allocations: 0 / 0.7894 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5606, allocations: 3.938 kB / 0.7894 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.5609, allocations: 61.12 kB / 0.7895 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.561, allocations: 77.11 kB / 0.7895 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.561, allocations: 11.89 kB / 0.7896 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.823e-05/0.5611, allocations: 7.969 kB / 0.7896 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/0.5611, allocations: 4 kB / 0.7896 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.5612, allocations: 0 / 0.7896 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.689e-05/0.5612, allocations: 75.28 kB / 0.7896 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5612, allocations: 0 / 0.7896 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003157/0.5616, allocations: 8.031 kB / 0.7897 GB, free: 9.047 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001096/0.5627, allocations: 0.5999 MB / 0.7902 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002691/0.563, allocations: 19.95 kB / 0.7903 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.563, allocations: 0 / 0.7903 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.396e-05/0.5631, allocations: 4 kB / 0.7903 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.5633, allocations: 6.922 kB / 0.7903 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000815/0.5641, allocations: 112.3 kB / 0.7904 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009943/0.5651, allocations: 0.6731 MB / 0.791 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.812e-05/0.5653, allocations: 4.125 kB / 0.791 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.19e-05/0.5653, allocations: 11.44 kB / 0.791 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of SimCode: time 3.61e-07/0.5654, allocations: 0 / 0.791 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02377/0.5891, allocations: 0.7271 MB / 0.7918 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004402/0.5897, allocations: 198 kB / 0.7919 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.103/3.693, allocations: 6.953 kB / 0.792 GB, free: 6.66 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegStep.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) Environment - environmentSimulation: