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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 116.8 kB / 17.17 MB, free: 6 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 214.3 kB / 20.13 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.54/1.54, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002634/0.002634, allocations: 287.8 kB / 309.8 MB, free: 3.508 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.088/1.088, allocations: 180.6 MB / 0.5338 GB, free: 12.36 MB / 398.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegStep",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegStep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002849/0.002849, allocations: 95.86 kB / 0.7347 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5776/0.5805, allocations: 95.34 MB / 0.8278 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegStep): time 0.001694/0.5822, allocations: 0.5786 MB / 0.8284 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002803/0.5824, allocations: 60.77 kB / 0.8285 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.951e-05/0.5825, allocations: 0 / 0.8285 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.586e-05/0.5825, allocations: 0 / 0.8285 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.412e-06/0.5825, allocations: 0 / 0.8285 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.5827, allocations: 15.88 kB / 0.8285 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.409e-05/0.5828, allocations: 3.109 kB / 0.8285 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.536e-05/0.5828, allocations: 5.938 kB / 0.8285 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.441e-05/0.5828, allocations: 0 / 0.8285 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.679e-05/0.5829, allocations: 9.328 kB / 0.8285 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.5829, allocations: 0 / 0.8285 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.583, allocations: 24.38 kB / 0.8285 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.118e-05/0.583, allocations: 5.219 kB / 0.8285 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.453e-05/0.583, allocations: 0 / 0.8285 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.388e-05/0.5831, allocations: 15.48 kB / 0.8285 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.5831, allocations: 0 / 0.8285 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5831, allocations: 0 / 0.8285 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.5831, allocations: 0.9688 kB / 0.8285 GB, free: 2.598 MB / 0.5762 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.0002669/0.5834, allocations: 317.8 kB / 0.8288 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.5834, allocations: 9.594 kB / 0.8288 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.289e-05/0.5834, allocations: 5.438 kB / 0.8288 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.526e-05/0.5835, allocations: 30.75 kB / 0.8289 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000253/0.5837, allocations: 18.42 kB / 0.8289 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.758e-05/0.5838, allocations: 161.2 kB / 0.829 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.5838, allocations: 2.266 kB / 0.829 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-06/0.5838, allocations: 4.312 kB / 0.8291 GB, free: 2 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.5839, allocations: 39.3 kB / 0.8291 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.5839, allocations: 4 kB / 0.8291 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.5839, allocations: 0 / 0.8291 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-06/0.5839, allocations: 0 / 0.8291 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.584, allocations: 10.72 kB / 0.8291 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001109/0.5841, allocations: 151.5 kB / 0.8292 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.623e-05/0.5842, allocations: 27.58 kB / 0.8293 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.103e-05/0.5843, allocations: 17.7 kB / 0.8293 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.5843, allocations: 0 / 0.8293 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.5843, allocations: 40.47 kB / 0.8293 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.5843, allocations: 0 / 0.8293 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0002367/0.5845, allocations: 47.64 kB / 0.8294 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.5846, allocations: 52.44 kB / 0.8294 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.044e-05/0.5846, allocations: 90.69 kB / 0.8295 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.704e-06/0.5846, allocations: 29.7 kB / 0.8295 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.381e-05/0.5846, allocations: 81.14 kB / 0.8296 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.5846, allocations: 0.7031 kB / 0.8296 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.5847, allocations: 12.88 kB / 0.8296 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.287e-05/0.5847, allocations: 317 kB / 0.8299 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.07e-05/0.5848, allocations: 7.625 kB / 0.8299 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.232e-05/0.5848, allocations: 5.25 kB / 0.8299 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.208e-05/0.5849, allocations: 19.25 kB / 0.83 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5849, allocations: 1.438 kB / 0.83 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001148/0.585, allocations: 44.28 kB / 0.83 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.585, allocations: 9 kB / 0.83 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.585, allocations: 0 / 0.83 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.5851, allocations: 0.7031 kB / 0.83 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.091e-05/0.5851, allocations: 4.031 kB / 0.83 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.5851, allocations: 6.75 kB / 0.83 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.112e-05/0.5852, allocations: 1.5 kB / 0.83 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.5852, allocations: 0 / 0.83 GB, free: 0.9766 MB / 0.5762 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 4.566e-05/0.5852, allocations: 117.3 kB / 0.8301 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.175e-06/0.5852, allocations: 4.641 kB / 0.8301 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.586e-05/0.5852, allocations: 3.125 kB / 0.8301 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.5853, allocations: 4.734 kB / 0.8302 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.5853, allocations: 2.812 kB / 0.8302 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.5853, allocations: 4 kB / 0.8302 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.382e-05/0.5853, allocations: 148.1 kB / 0.8303 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.5853, allocations: 0 / 0.8303 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.177e-05/0.5854, allocations: 4.828 kB / 0.8303 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.5854, allocations: 3.938 kB / 0.8303 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.5854, allocations: 3.078 kB / 0.8303 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.5854, allocations: 3.938 kB / 0.8303 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.5854, allocations: 0 / 0.8303 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.5855, allocations: 68.09 kB / 0.8304 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.796e-05/0.5855, allocations: 80.61 kB / 0.8305 GB, free: 492 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.5855, allocations: 4.781 kB / 0.8305 GB, free: 488 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.965e-05/0.5856, allocations: 0.5625 kB / 0.8305 GB, free: 488 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.395e-05/0.5856, allocations: 7.547 kB / 0.8305 GB, free: 484 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.5856, allocations: 0 / 0.8305 GB, free: 484 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.416e-05/0.5856, allocations: 75.28 kB / 0.8305 GB, free: 408 kB / 0.5762 GB Notification: Performance of sort global known variables: time 5e-08/0.5856, allocations: 4.031 kB / 0.8305 GB, free: 404 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001717/0.5858, allocations: 1.406 kB / 0.8305 GB, free: 404 kB / 0.5762 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.000383/0.5861, allocations: 0.5999 MB / 0.8311 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001488/0.5863, allocations: 15.08 kB / 0.8311 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5863, allocations: 0 / 0.8311 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.612e-05/0.5863, allocations: 9.938 kB / 0.8312 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.5865, allocations: 11.44 kB / 0.8312 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003663/0.5868, allocations: 111.1 kB / 0.8313 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.5871, allocations: 0.6728 MB / 0.8319 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.867e-05/0.5871, allocations: 4.125 kB / 0.8319 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.913e-05/0.5872, allocations: 10.7 kB / 0.8319 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of SimCode: time 3.61e-07/0.5872, allocations: 3.938 kB / 0.8319 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01674/0.6039, allocations: 1.003 MB / 0.8329 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.944/8.548, allocations: 11.73 kB / 0.8329 GB, free: 14.58 MB / 0.5919 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegStep.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.738485698995646] Failed to read output from testmodel.py, exit status != 0: 8.672808546980377 8.697221805 8.109678829 Calling exit ...