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.0006811/0.0006811, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007487/0.0007487, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.872/0.872, allocations: 177.1 MB / 202.8 MB, free: 5.555 MB / 186.7 MB " [Timeout remaining time 179] 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.001455/0.001455, allocations: 237.9 kB / 259.4 MB, free: 12.92 MB / 250.7 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 0.6356/0.6356, allocations: 138.4 MB / 454.3 MB, free: 1.641 MB / 362.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.6464 GB, free: 28.95 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.756e-05/1.904e-05, allocations: 2.281 kB / 0.6464 GB, free: 28.95 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegStep): time 0.001143/0.001162, allocations: 0.5934 MB / 0.6469 GB, free: 28.5 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0002191/0.001381, allocations: 48.98 kB / 0.647 GB, free: 28.46 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.53e-05/0.001396, allocations: 0 / 0.647 GB, free: 28.46 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.508e-05/0.001411, allocations: 4 kB / 0.647 GB, free: 28.46 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.373e-06/0.001419, allocations: 0 / 0.647 GB, free: 28.46 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002472/0.001666, allocations: 17.5 kB / 0.647 GB, free: 28.45 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 4.655e-05/0.001712, allocations: 1.438 kB / 0.647 GB, free: 28.45 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.49e-05/0.001757, allocations: 5.203 kB / 0.647 GB, free: 28.45 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 2.763e-05/0.001785, allocations: 1.375 kB / 0.647 GB, free: 28.45 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 2.032e-05/0.001805, allocations: 0 / 0.647 GB, free: 28.45 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.001817, allocations: 1.281 kB / 0.647 GB, free: 28.45 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 9.254e-05/0.001909, allocations: 17.33 kB / 0.647 GB, free: 28.44 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.275e-05/0.001922, allocations: 1.062 kB / 0.647 GB, free: 28.44 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.786e-05/0.00194, allocations: 4 kB / 0.647 GB, free: 28.43 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.002051, allocations: 30.58 kB / 0.6471 GB, free: 28.41 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.002056, allocations: 1.25 kB / 0.6471 GB, free: 28.41 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.563e-06/0.002058, allocations: 0 / 0.6471 GB, free: 28.41 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.002064, allocations: 0 / 0.6471 GB, free: 28.41 MB / 0.5105 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.000264/0.002328, allocations: 235.4 kB / 0.6473 GB, free: 28.16 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/0.002385, allocations: 10.19 kB / 0.6473 GB, free: 28.16 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.534e-05/0.00241, allocations: 30.75 kB / 0.6473 GB, free: 28.12 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001981/0.002608, allocations: 22.3 kB / 0.6474 GB, free: 28.11 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.8e-05/0.002646, allocations: 107.3 kB / 0.6475 GB, free: 27.98 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.002656, allocations: 384 / 0.6475 GB, free: 27.98 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.346e-06/0.002664, allocations: 5.594 kB / 0.6475 GB, free: 27.97 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.002771, allocations: 34.34 kB / 0.6475 GB, free: 27.94 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.002778, allocations: 192 / 0.6475 GB, free: 27.94 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.002786, allocations: 384 / 0.6475 GB, free: 27.94 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.002792, allocations: 5.25 kB / 0.6475 GB, free: 27.93 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.758e-05/0.00284, allocations: 13.2 kB / 0.6475 GB, free: 27.93 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.691e-05/0.002927, allocations: 125.9 kB / 0.6476 GB, free: 27.76 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.942e-05/0.002976, allocations: 23.25 kB / 0.6477 GB, free: 27.73 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.629e-05/0.003002, allocations: 7.922 kB / 0.6477 GB, free: 27.73 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.003023, allocations: 1.125 kB / 0.6477 GB, free: 27.73 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.424e-05/0.003038, allocations: 31.88 kB / 0.6477 GB, free: 27.69 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.003038, allocations: 0 / 0.6477 GB, free: 27.69 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001693/0.003208, allocations: 56.89 kB / 0.6477 GB, free: 27.64 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.096e-05/0.003229, allocations: 52.81 kB / 0.6478 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.668e-06/0.003238, allocations: 93.86 kB / 0.6479 GB, free: 27.47 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.25e-06/0.003244, allocations: 25.7 kB / 0.6479 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.881e-06/0.003249, allocations: 81.55 kB / 0.648 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.003277, allocations: 3.938 kB / 0.648 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/0.003303, allocations: 15.2 kB / 0.648 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.141e-05/0.003334, allocations: 312.2 kB / 0.6483 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.013e-05/0.003364, allocations: 3.75 kB / 0.6483 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.041e-05/0.003385, allocations: 6.516 kB / 0.6483 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.111e-05/0.003436, allocations: 23.62 kB / 0.6483 GB, free: 27 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.003438, allocations: 0 / 0.6483 GB, free: 27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.386e-05/0.003502, allocations: 43.41 kB / 0.6484 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.003516, allocations: 5.25 kB / 0.6484 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.003521, allocations: 4 kB / 0.6484 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.003534, allocations: 1.094 kB / 0.6484 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.153e-05/0.003595, allocations: 10.45 kB / 0.6484 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.003601, allocations: 1.469 kB / 0.6484 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.593e-05/0.003617, allocations: 5.469 kB / 0.6484 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.003622, allocations: 0 / 0.6484 GB, free: 26.95 MB / 0.5105 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 3.659e-05/0.003659, allocations: 108 kB / 0.6485 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.488e-06/0.003663, allocations: 1.281 kB / 0.6485 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.295e-05/0.003696, allocations: 6.984 kB / 0.6485 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.003699, allocations: 1.531 kB / 0.6485 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.003703, allocations: 7.875 kB / 0.6485 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.003706, allocations: 3.984 kB / 0.6485 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.681e-05/0.003743, allocations: 117.9 kB / 0.6486 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.003744, allocations: 5.062 kB / 0.6486 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.053e-05/0.003765, allocations: 2.625 kB / 0.6486 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.003766, allocations: 0 / 0.6486 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.003772, allocations: 5.453 kB / 0.6487 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.003773, allocations: 0 / 0.6487 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.003775, allocations: 3.938 kB / 0.6487 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.26e-05/0.003857, allocations: 64.75 kB / 0.6487 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.328e-06/0.003862, allocations: 1.125 kB / 0.6487 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.998e-06/0.003872, allocations: 7.938 kB / 0.6487 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.264e-05/0.003884, allocations: 10.17 kB / 0.6487 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.143e-05/0.003896, allocations: 3.938 kB / 0.6487 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-06/0.003898, allocations: 1.156 kB / 0.6487 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.316e-06/0.003906, allocations: 76.34 kB / 0.6488 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4e-08/0.003906, allocations: 0 / 0.6488 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001125/0.004019, allocations: 1.125 kB / 0.6488 GB, free: 26.48 MB / 0.5105 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.0001965/0.004215, allocations: 0.5979 MB / 0.6494 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.913e-05/0.004315, allocations: 16.36 kB / 0.6494 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.004316, allocations: 0 / 0.6494 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.784e-05/0.004334, allocations: 4.656 kB / 0.6494 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00011/0.004444, allocations: 5.281 kB / 0.6494 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002785/0.004723, allocations: 110.7 kB / 0.6495 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.97e-05/0.004752, allocations: 57.62 kB / 0.6496 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.577e-05/0.004788, allocations: 5.469 kB / 0.6496 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.813e-05/0.004816, allocations: 13.69 kB / 0.6496 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of SimCode: time 8.72e-07/0.004817, allocations: 0 / 0.6496 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01605/0.02087, allocations: 1.612 MB / 0.6512 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.593/6.614, allocations: 6.906 kB / 0.6512 GB, free: 24.53 MB / 0.5105 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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: 9.414150489494205] Failed to read output from testmodel.py, exit status != 0: 6.690941429696977 6.698357272 6.694985965 Calling exit ...