Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 117.2 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 225.6 MB / 248.5 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8553/0.8553, allocations: 129.2 MB / 432.5 MB, free: 13.43 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 71.83 kB / 0.5987 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4052, allocations: 83.44 MB / 0.6802 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001711/0.4069, allocations: 0.5719 MB / 0.6808 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002794/0.4072, allocations: 58.16 kB / 0.6808 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.799e-05/0.4072, allocations: 0 / 0.6808 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.798e-05/0.4072, allocations: 0 / 0.6808 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.133e-06/0.4072, allocations: 0 / 0.6808 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.4075, allocations: 21.12 kB / 0.6809 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.528e-05/0.4075, allocations: 1.094 kB / 0.6809 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.744e-05/0.4076, allocations: 8.859 kB / 0.6809 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.439e-05/0.4076, allocations: 0.9375 kB / 0.6809 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.365e-05/0.4076, allocations: 0.9688 kB / 0.6809 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.949e-06/0.4076, allocations: 1.062 kB / 0.6809 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.4077, allocations: 22.64 kB / 0.6809 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.06e-05/0.4077, allocations: 0 / 0.6809 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.754e-05/0.4077, allocations: 0 / 0.6809 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.316e-05/0.4078, allocations: 18.84 kB / 0.6809 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4078, allocations: 7.922 kB / 0.6809 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.654e-06/0.4078, allocations: 0 / 0.6809 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.4078, allocations: 1.562 kB / 0.6809 GB, free: 5.438 MB / 0.4981 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.0002533/0.4081, allocations: 306.3 kB / 0.6812 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.985e-05/0.4082, allocations: 9.094 kB / 0.6812 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.586e-05/0.4082, allocations: 32.06 kB / 0.6812 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003066/0.4085, allocations: 26.22 kB / 0.6813 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.539e-05/0.4086, allocations: 171.2 kB / 0.6814 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.4086, allocations: 384 / 0.6814 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.4086, allocations: 1.281 kB / 0.6814 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.4087, allocations: 38.5 kB / 0.6815 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.4087, allocations: 7.922 kB / 0.6815 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.4088, allocations: 0 / 0.6815 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.4088, allocations: 5.125 kB / 0.6815 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.763e-05/0.4089, allocations: 13.14 kB / 0.6815 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001325/0.409, allocations: 143.2 kB / 0.6816 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.822e-05/0.4091, allocations: 29.44 kB / 0.6817 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.888e-05/0.4091, allocations: 7.734 kB / 0.6817 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.4091, allocations: 0 / 0.6817 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.4092, allocations: 44.8 kB / 0.6817 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.4092, allocations: 0 / 0.6817 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0002383/0.4094, allocations: 43.97 kB / 0.6818 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.4094, allocations: 52.5 kB / 0.6818 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.184e-05/0.4095, allocations: 89.86 kB / 0.6819 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.4095, allocations: 25.7 kB / 0.6819 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.533e-05/0.4095, allocations: 89.36 kB / 0.682 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.4095, allocations: 3.953 kB / 0.682 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.4096, allocations: 16.05 kB / 0.682 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.312e-05/0.4096, allocations: 310.8 kB / 0.6823 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.896e-05/0.4097, allocations: 3.844 kB / 0.6823 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.939e-05/0.4097, allocations: 6.609 kB / 0.6823 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.897e-05/0.4098, allocations: 23.38 kB / 0.6823 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4098, allocations: 1.219 kB / 0.6824 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001127/0.4099, allocations: 42.59 kB / 0.6824 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.4099, allocations: 5.188 kB / 0.6824 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.4099, allocations: 3.938 kB / 0.6824 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.41, allocations: 1.188 kB / 0.6824 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.741e-05/0.4101, allocations: 6.484 kB / 0.6824 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.4101, allocations: 0 / 0.6824 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.503e-05/0.4101, allocations: 6.625 kB / 0.6824 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.4101, allocations: 0 / 0.6824 GB, free: 3.766 MB / 0.4981 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 5.575e-05/0.4102, allocations: 108.4 kB / 0.6825 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.604e-06/0.4102, allocations: 7.875 kB / 0.6825 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.515e-05/0.4102, allocations: 8.344 kB / 0.6825 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.4102, allocations: 0 / 0.6825 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.4102, allocations: 1.125 kB / 0.6825 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4102, allocations: 3.984 kB / 0.6825 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.901e-05/0.4103, allocations: 142.9 kB / 0.6827 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4103, allocations: 4 kB / 0.6827 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.276e-05/0.4103, allocations: 10.67 kB / 0.6827 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.4103, allocations: 1.062 kB / 0.6827 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.4103, allocations: 7.938 kB / 0.6827 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4103, allocations: 1.344 kB / 0.6827 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4103, allocations: 0 / 0.6827 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.4105, allocations: 63.41 kB / 0.6828 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.916e-05/0.4105, allocations: 77.11 kB / 0.6828 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.4105, allocations: 9.172 kB / 0.6828 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.131e-05/0.4105, allocations: 1.469 kB / 0.6828 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.057e-05/0.4105, allocations: 0 / 0.6828 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.4105, allocations: 5.469 kB / 0.6828 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.43e-05/0.4106, allocations: 79.28 kB / 0.6829 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/0.4106, allocations: 0 / 0.6829 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001777/0.4107, allocations: 1.188 kB / 0.6829 GB, free: 3.176 MB / 0.4981 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.0003076/0.411, allocations: 0.6078 MB / 0.6835 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001303/0.4112, allocations: 12.05 kB / 0.6835 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4112, allocations: 96 / 0.6835 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.114e-05/0.4112, allocations: 8.438 kB / 0.6835 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.4113, allocations: 9.562 kB / 0.6835 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003065/0.4117, allocations: 119.2 kB / 0.6837 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.637e-05/0.4118, allocations: 0.6705 MB / 0.6843 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.061e-05/0.4118, allocations: 5.312 kB / 0.6843 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.344e-05/0.4118, allocations: 8.688 kB / 0.6843 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.4118, allocations: 0 / 0.6843 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0217/0.4335, allocations: 0.9444 MB / 0.6853 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.81/8.243, allocations: 6.781 kB / 0.6853 GB, free: 1.129 MB / 0.4981 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegStep.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.692928173113614] Failed to read output from testmodel.py, exit status != 0: 8.310539857950062 8.332964869 7.920896286 Calling exit ...