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.001676/0.001676, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002709/0.002709, allocations: 216.5 kB / 23.04 MB, free: 5.078 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.00265/0.00265, allocations: 278.6 kB / 313.5 MB, free: 2.836 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.236/1.236, allocations: 180.6 MB / 0.5377 GB, free: 12.91 MB / 382.1 MB " [Timeout remaining time 179] 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.002827/0.002827, allocations: 94.22 kB / 0.7404 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.2, allocations: 95.38 MB / 0.8335 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegStep): time 0.002051/0.202, allocations: 0.6016 MB / 0.8341 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002826/0.2023, allocations: 56.19 kB / 0.8342 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.911e-05/0.2023, allocations: 0 / 0.8342 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.336e-05/0.2024, allocations: 0 / 0.8342 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.893e-06/0.2024, allocations: 0 / 0.8342 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.2026, allocations: 19.88 kB / 0.8342 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.813e-05/0.2027, allocations: 7.984 kB / 0.8342 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.625e-05/0.2027, allocations: 0 / 0.8342 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.374e-05/0.2027, allocations: 0 / 0.8342 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.344e-05/0.2027, allocations: 4 kB / 0.8342 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.965e-06/0.2027, allocations: 0 / 0.8342 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.2029, allocations: 15.98 kB / 0.8342 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.2029, allocations: 3.984 kB / 0.8342 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.831e-05/0.2029, allocations: 8 kB / 0.8342 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 8.317e-05/0.203, allocations: 8.266 kB / 0.8342 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.565e-06/0.203, allocations: 3.984 kB / 0.8342 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.283e-06/0.203, allocations: 4 kB / 0.8342 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.203, allocations: 0 / 0.8342 GB, free: 7.852 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.0002938/0.2033, allocations: 242.4 kB / 0.8345 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.2033, allocations: 13.94 kB / 0.8345 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.235e-05/0.2033, allocations: 192 / 0.8345 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.83e-05/0.2034, allocations: 30.75 kB / 0.8345 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002546/0.2036, allocations: 16.91 kB / 0.8345 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.251e-05/0.2037, allocations: 114.5 kB / 0.8346 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.2037, allocations: 4.312 kB / 0.8346 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.754e-06/0.2037, allocations: 4.312 kB / 0.8346 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.2039, allocations: 38 kB / 0.8347 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.2039, allocations: 0 / 0.8347 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.2039, allocations: 0 / 0.8347 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.2039, allocations: 0 / 0.8347 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.641e-05/0.204, allocations: 19.92 kB / 0.8347 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001433/0.2041, allocations: 120.8 kB / 0.8348 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.268e-05/0.2042, allocations: 26.53 kB / 0.8348 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.065e-05/0.2042, allocations: 8.922 kB / 0.8349 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.2043, allocations: 0 / 0.8349 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.2043, allocations: 38.5 kB / 0.8349 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.2043, allocations: 0 / 0.8349 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0002411/0.2045, allocations: 49.67 kB / 0.8349 GB, free: 7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.2046, allocations: 51.41 kB / 0.835 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.575e-05/0.2046, allocations: 89.86 kB / 0.8351 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.2047, allocations: 25.7 kB / 0.8351 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.514e-05/0.2047, allocations: 80.14 kB / 0.8352 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.2047, allocations: 4 kB / 0.8352 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.2048, allocations: 17.7 kB / 0.8352 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.2049, allocations: 315 kB / 0.8355 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.487e-05/0.2049, allocations: 7.938 kB / 0.8355 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.097e-05/0.205, allocations: 7.984 kB / 0.8355 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.943e-05/0.2051, allocations: 12.84 kB / 0.8355 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.2051, allocations: 4 kB / 0.8355 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001265/0.2052, allocations: 41.75 kB / 0.8356 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.2052, allocations: 9.812 kB / 0.8356 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.2052, allocations: 0 / 0.8356 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.2052, allocations: 0 / 0.8356 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.064e-05/0.2053, allocations: 7.984 kB / 0.8356 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.2053, allocations: 0 / 0.8356 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.34e-05/0.2053, allocations: 4 kB / 0.8356 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.2054, allocations: 3.938 kB / 0.8356 GB, free: 6.277 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 9.247e-05/0.2054, allocations: 114.5 kB / 0.8357 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.498e-06/0.2055, allocations: 3.938 kB / 0.8357 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.86e-05/0.2055, allocations: 3 kB / 0.8357 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.2055, allocations: 4 kB / 0.8357 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2055, allocations: 3.938 kB / 0.8357 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.2055, allocations: 0 / 0.8357 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.82e-05/0.2056, allocations: 116.8 kB / 0.8358 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.2056, allocations: 0 / 0.8358 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.034e-05/0.2056, allocations: 4 kB / 0.8358 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.2056, allocations: 7.938 kB / 0.8358 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.2056, allocations: 7.984 kB / 0.8358 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.2057, allocations: 0 / 0.8358 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2057, allocations: 0 / 0.8358 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.2058, allocations: 65.12 kB / 0.8359 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-06/0.2058, allocations: 0 / 0.8359 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.2058, allocations: 7.875 kB / 0.8359 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.241e-05/0.2059, allocations: 12.02 kB / 0.8359 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.297e-05/0.2059, allocations: 3.938 kB / 0.8359 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.2059, allocations: 0 / 0.8359 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.008e-05/0.2059, allocations: 75.28 kB / 0.836 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2059, allocations: 0 / 0.836 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001759/0.2061, allocations: 4 kB / 0.836 GB, free: 5.781 MB / 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.0005575/0.2067, allocations: 0.6046 MB / 0.8366 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001484/0.2068, allocations: 11.98 kB / 0.8366 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2068, allocations: 4 kB / 0.8366 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.318e-05/0.2068, allocations: 7.938 kB / 0.8366 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.207, allocations: 2.578 kB / 0.8366 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004215/0.2074, allocations: 114.9 kB / 0.8367 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.2077, allocations: 0.669 MB / 0.8374 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.03e-05/0.2078, allocations: 0 / 0.8374 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.458e-05/0.2078, allocations: 11.44 kB / 0.8374 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of SimCode: time 6.01e-07/0.2078, allocations: 0 / 0.8374 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02131/0.2291, allocations: 1.095 MB / 0.8385 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.06, allocations: 13.25 kB / 0.8385 GB, free: 3.309 MB / 0.5762 GB " [Timeout remaining time 649] (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: 15.39124799700221] Failed to read output from testmodel.py, exit status != 0: 11.219270094996318 11.245432314 11.037859177 Calling exit ...