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.001387/0.001387, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.00153/0.00153, allocations: 213 kB / 23.78 MB, free: 4.523 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.504/1.504, allocations: 230.6 MB / 257.5 MB, free: 7.793 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 0.9834/0.9834, allocations: 150 MB / 464 MB, free: 10.18 MB / 366.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.002113/0.002113, allocations: 65.62 kB / 0.642 GB, free: 9.789 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1925, allocations: 89.18 MB / 0.7291 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001825/0.1944, allocations: 0.5799 MB / 0.7297 GB, free: 116 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003164/0.1947, allocations: 43.86 kB / 0.7297 GB, free: 72 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.723e-05/0.1947, allocations: 0 / 0.7297 GB, free: 72 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.272e-05/0.1947, allocations: 0 / 0.7297 GB, free: 72 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.285e-06/0.1947, allocations: 7.938 kB / 0.7297 GB, free: 64 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.195, allocations: 19.92 kB / 0.7297 GB, free: 44 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.271e-05/0.195, allocations: 4 kB / 0.7297 GB, free: 40 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.312e-05/0.1951, allocations: 0 / 0.7297 GB, free: 40 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.511e-05/0.1951, allocations: 0 / 0.7297 GB, free: 40 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.449e-05/0.1951, allocations: 0 / 0.7297 GB, free: 40 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.1951, allocations: 0 / 0.7297 GB, free: 40 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.1953, allocations: 27.95 kB / 0.7297 GB, free: 12 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.962e-05/0.1953, allocations: 4 kB / 0.7298 GB, free: 8 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.025e-05/0.1953, allocations: 0 / 0.7298 GB, free: 8 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.1954, allocations: 20.05 kB / 0.7298 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.1954, allocations: 0 / 0.7298 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1955, allocations: 3.938 kB / 0.7298 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.1955, allocations: 0 / 0.7298 GB, free: 15.98 MB / 0.5606 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.0003923/0.1958, allocations: 246.6 kB / 0.73 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.041e-05/0.1959, allocations: 12.03 kB / 0.73 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.263e-05/0.1959, allocations: 192 / 0.73 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.484e-05/0.196, allocations: 30.75 kB / 0.7301 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003117/0.1963, allocations: 16.91 kB / 0.7301 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.1964, allocations: 106.5 kB / 0.7302 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.1964, allocations: 4.375 kB / 0.7302 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.1964, allocations: 384 / 0.7302 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.1966, allocations: 45.98 kB / 0.7302 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1966, allocations: 0 / 0.7302 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.1966, allocations: 0 / 0.7302 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1966, allocations: 0 / 0.7302 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.671e-05/0.1967, allocations: 15.92 kB / 0.7302 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001901/0.1969, allocations: 112.8 kB / 0.7303 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.197, allocations: 26.59 kB / 0.7304 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.917e-05/0.1971, allocations: 12.91 kB / 0.7304 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.381e-05/0.1971, allocations: 4 kB / 0.7304 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.1971, allocations: 34.5 kB / 0.7304 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1971, allocations: 0 / 0.7304 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0003363/0.1975, allocations: 45.62 kB / 0.7305 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/0.1975, allocations: 51.41 kB / 0.7305 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.99e-05/0.1976, allocations: 97.97 kB / 0.7306 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.1976, allocations: 29.7 kB / 0.7306 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.749e-05/0.1977, allocations: 80.14 kB / 0.7307 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.762e-05/0.1977, allocations: 3.953 kB / 0.7307 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.866e-05/0.1978, allocations: 13.72 kB / 0.7307 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001913/0.198, allocations: 314.8 kB / 0.731 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.54e-05/0.198, allocations: 3.984 kB / 0.731 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.893e-05/0.1981, allocations: 7.938 kB / 0.731 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.1982, allocations: 20.91 kB / 0.7311 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1982, allocations: 0 / 0.7311 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001638/0.1983, allocations: 41.62 kB / 0.7311 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.1984, allocations: 11.94 kB / 0.7311 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1984, allocations: 3.938 kB / 0.7311 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.1984, allocations: 0 / 0.7311 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.037e-05/0.1985, allocations: 7.984 kB / 0.7311 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.1985, allocations: 0 / 0.7311 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.371e-05/0.1985, allocations: 0 / 0.7311 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.1985, allocations: 8.031 kB / 0.7311 GB, free: 14.41 MB / 0.5606 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.0001064/0.1986, allocations: 109.8 kB / 0.7312 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.187e-05/0.1987, allocations: 3.938 kB / 0.7312 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.3e-05/0.1987, allocations: 6.984 kB / 0.7312 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1987, allocations: 0 / 0.7312 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1987, allocations: 0 / 0.7312 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1987, allocations: 0 / 0.7312 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.1989, allocations: 116.8 kB / 0.7314 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1989, allocations: 0 / 0.7314 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.884e-05/0.1989, allocations: 11.98 kB / 0.7314 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/0.1989, allocations: 7.938 kB / 0.7314 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.1989, allocations: 0 / 0.7314 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1989, allocations: 0 / 0.7314 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1989, allocations: 0 / 0.7314 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.1991, allocations: 69.06 kB / 0.7314 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.675e-06/0.1991, allocations: 0 / 0.7314 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.1991, allocations: 7.922 kB / 0.7314 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.413e-05/0.1992, allocations: 4 kB / 0.7314 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.933e-05/0.1992, allocations: 4.031 kB / 0.7315 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.1992, allocations: 0 / 0.7315 GB, free: 14 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.749e-05/0.1993, allocations: 75.28 kB / 0.7315 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1993, allocations: 0 / 0.7315 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001834/0.1994, allocations: 4 kB / 0.7315 GB, free: 13.92 MB / 0.5606 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.0005978/0.2, allocations: 0.6072 MB / 0.7321 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001923/0.2002, allocations: 20.02 kB / 0.7321 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2002, allocations: 0 / 0.7321 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.711e-05/0.2003, allocations: 7.984 kB / 0.7321 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.2005, allocations: 2.188 kB / 0.7321 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005097/0.201, allocations: 106.6 kB / 0.7323 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.877e-05/0.201, allocations: 59.3 kB / 0.7323 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.417e-05/0.2011, allocations: 12.11 kB / 0.7323 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.737e-05/0.2011, allocations: 15.38 kB / 0.7323 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of SimCode: time 6.01e-07/0.2011, allocations: 0 / 0.7323 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0226/0.2237, allocations: 1.101 MB / 0.7334 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.47, allocations: 13.34 kB / 0.7334 GB, free: 12.05 MB / 0.5606 GB " [Timeout remaining time 648] (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: 15.390969739062712] Failed to read output from testmodel.py, exit status != 0: 11.638591040042229 11.663163395 11.46305224 Calling exit ...