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.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.00137/0.00137, allocations: 114.9 kB / 17.84 MB, free: 5.312 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.001544/0.001544, allocations: 201.6 kB / 20.8 MB, free: 2.371 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.514/1.514, allocations: 230.6 MB / 254.2 MB, free: 15.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.014/1.014, allocations: 150 MB / 460.2 MB, free: 5.25 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegStep",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegStep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002211/0.002211, allocations: 70.23 kB / 0.6369 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2021, allocations: 89.13 MB / 0.7239 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.00195/0.2041, allocations: 0.5814 MB / 0.7245 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003518/0.2044, allocations: 47.8 kB / 0.7245 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.203e-05/0.2045, allocations: 0 / 0.7245 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.66e-05/0.2045, allocations: 0 / 0.7245 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.57e-06/0.2045, allocations: 0 / 0.7245 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002385/0.2047, allocations: 19.92 kB / 0.7245 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.697e-05/0.2048, allocations: 8 kB / 0.7245 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.968e-05/0.2048, allocations: 0 / 0.7245 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.379e-05/0.2048, allocations: 0 / 0.7245 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.563e-05/0.2049, allocations: 7.969 kB / 0.7245 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.2049, allocations: 4 kB / 0.7245 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.205, allocations: 19.98 kB / 0.7246 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.406e-06/0.205, allocations: 0 / 0.7246 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.512e-05/0.205, allocations: 3.938 kB / 0.7246 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.105e-05/0.2051, allocations: 16.2 kB / 0.7246 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2051, allocations: 0 / 0.7246 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.684e-06/0.2051, allocations: 0 / 0.7246 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.2051, allocations: 4 kB / 0.7246 GB, free: 3.258 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.0003527/0.2055, allocations: 319.5 kB / 0.7249 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.2055, allocations: 8.031 kB / 0.7249 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.761e-05/0.2055, allocations: 4.188 kB / 0.7249 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.756e-05/0.2055, allocations: 30.75 kB / 0.7249 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002551/0.2058, allocations: 16.91 kB / 0.7249 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.2059, allocations: 164.4 kB / 0.7251 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.2059, allocations: 4.375 kB / 0.7251 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.547e-06/0.206, allocations: 4.312 kB / 0.7251 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.2061, allocations: 38 kB / 0.7251 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.2061, allocations: 0 / 0.7251 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.2061, allocations: 4 kB / 0.7251 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2061, allocations: 0 / 0.7251 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.2062, allocations: 11.98 kB / 0.7252 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000207/0.2064, allocations: 145.7 kB / 0.7253 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.983e-05/0.2065, allocations: 22.59 kB / 0.7253 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.007e-05/0.2066, allocations: 13.27 kB / 0.7253 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.2066, allocations: 0 / 0.7253 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.2067, allocations: 38.5 kB / 0.7254 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.2067, allocations: 4 kB / 0.7254 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0002683/0.2069, allocations: 45.67 kB / 0.7254 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/0.207, allocations: 51.41 kB / 0.7255 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.758e-05/0.2071, allocations: 93.86 kB / 0.7256 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.2071, allocations: 25.7 kB / 0.7256 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.705e-05/0.2071, allocations: 80.14 kB / 0.7257 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.264e-05/0.2072, allocations: 3.953 kB / 0.7257 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.2072, allocations: 13.7 kB / 0.7257 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.2074, allocations: 323 kB / 0.726 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.186e-05/0.2074, allocations: 3.938 kB / 0.726 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.549e-05/0.2075, allocations: 11.98 kB / 0.726 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.2076, allocations: 16.84 kB / 0.726 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2076, allocations: 0 / 0.726 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001393/0.2077, allocations: 45.69 kB / 0.7261 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.2077, allocations: 7.938 kB / 0.7261 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2077, allocations: 4 kB / 0.7261 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.2077, allocations: 0 / 0.7261 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.2079, allocations: 7.969 kB / 0.7261 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.423e-06/0.2079, allocations: 4 kB / 0.7261 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.379e-05/0.2079, allocations: 3.938 kB / 0.7261 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.2079, allocations: 0 / 0.7261 GB, free: 1.484 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 0.0001119/0.208, allocations: 121.8 kB / 0.7262 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.424e-05/0.2081, allocations: 7.938 kB / 0.7262 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.583e-05/0.2081, allocations: 3.125 kB / 0.7262 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2081, allocations: 0 / 0.7262 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.2081, allocations: 0 / 0.7262 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2081, allocations: 0 / 0.7262 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.2082, allocations: 145.7 kB / 0.7263 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2082, allocations: 0 / 0.7263 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.634e-05/0.2083, allocations: 4 kB / 0.7264 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/0.2083, allocations: 7.922 kB / 0.7264 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.2083, allocations: 4 kB / 0.7264 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.2083, allocations: 0 / 0.7264 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2083, allocations: 4 kB / 0.7264 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.2085, allocations: 61.12 kB / 0.7264 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-05/0.2085, allocations: 77.11 kB / 0.7265 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.2085, allocations: 3.938 kB / 0.7265 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.846e-05/0.2086, allocations: 12.02 kB / 0.7265 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.467e-05/0.2086, allocations: 3.938 kB / 0.7265 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-06/0.2086, allocations: 0 / 0.7265 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.06e-05/0.2086, allocations: 75.28 kB / 0.7266 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2086, allocations: 0 / 0.7266 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001832/0.2088, allocations: 4 kB / 0.7266 GB, free: 0.8672 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.000593/0.2094, allocations: 0.6046 MB / 0.7272 GB, free: 236 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001633/0.2096, allocations: 11.98 kB / 0.7272 GB, free: 224 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2096, allocations: 0 / 0.7272 GB, free: 224 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.119e-05/0.2096, allocations: 11.94 kB / 0.7272 GB, free: 212 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.2098, allocations: 4 kB / 0.7272 GB, free: 208 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004411/0.2102, allocations: 114.7 kB / 0.7273 GB, free: 52 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.2106, allocations: 0.6767 MB / 0.728 GB, free: 15.35 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.452e-05/0.2106, allocations: 3.984 kB / 0.728 GB, free: 15.34 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.098e-05/0.2107, allocations: 7.438 kB / 0.728 GB, free: 15.34 MB / 0.545 GB Notification: Performance of SimCode: time 4.1e-07/0.2107, allocations: 0 / 0.728 GB, free: 15.34 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/0.2287, allocations: 0.994 MB / 0.729 GB, free: 14.47 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.246/8.474, allocations: 17.72 kB / 0.729 GB, free: 14.45 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.42703280702699] Failed to read output from testmodel.py, exit status != 0: 8.6006133640185 8.622328547 8.412812627 Calling exit ...