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.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.001551/0.001551, allocations: 106 kB / 16.45 MB, free: 6.445 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.001711/0.001711, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.474/1.474, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00263/0.00263, allocations: 282.7 kB / 303 MB, free: 3.566 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.068/1.068, allocations: 180.9 MB / 0.5261 GB, free: 2.777 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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 0.002746/0.002746, allocations: 99.84 kB / 0.7248 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5989/0.6016, allocations: 94.16 MB / 0.8168 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegStep): time 0.001686/0.6033, allocations: 0.583 MB / 0.8173 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002583/0.6036, allocations: 55.92 kB / 0.8174 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.096e-05/0.6036, allocations: 0 / 0.8174 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.392e-05/0.6036, allocations: 0.75 kB / 0.8174 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.973e-06/0.6036, allocations: 0 / 0.8174 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.6039, allocations: 21.22 kB / 0.8174 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.51e-05/0.6039, allocations: 0.875 kB / 0.8174 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.398e-05/0.6039, allocations: 5.906 kB / 0.8174 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.301e-05/0.604, allocations: 0 / 0.8174 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.118e-05/0.604, allocations: 4.969 kB / 0.8174 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.678e-06/0.604, allocations: 1.031 kB / 0.8174 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.6041, allocations: 25.78 kB / 0.8174 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.087e-06/0.6041, allocations: 0 / 0.8174 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.522e-05/0.6041, allocations: 1.781 kB / 0.8174 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 8.212e-05/0.6042, allocations: 18.89 kB / 0.8175 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.6042, allocations: 4 kB / 0.8175 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6042, allocations: 0 / 0.8175 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.6042, allocations: 0.8438 kB / 0.8175 GB, free: 6.734 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.0002333/0.6044, allocations: 310.4 kB / 0.8178 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.6045, allocations: 9.875 kB / 0.8178 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.632e-05/0.6045, allocations: 34.03 kB / 0.8178 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002432/0.6048, allocations: 16.53 kB / 0.8178 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.994e-05/0.6048, allocations: 161.7 kB / 0.818 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.203e-06/0.6048, allocations: 4.375 kB / 0.818 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.6048, allocations: 1.5 kB / 0.818 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.605, allocations: 41.36 kB / 0.818 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.605, allocations: 9.094 kB / 0.818 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-06/0.605, allocations: 0 / 0.818 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.605, allocations: 0 / 0.818 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.632e-05/0.6051, allocations: 10.45 kB / 0.818 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.846e-05/0.6051, allocations: 145.7 kB / 0.8182 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.544e-05/0.6052, allocations: 22.59 kB / 0.8182 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.469e-05/0.6053, allocations: 7.922 kB / 0.8182 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.6053, allocations: 4.906 kB / 0.8182 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.421e-05/0.6053, allocations: 38.64 kB / 0.8182 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.6053, allocations: 0 / 0.8182 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0002162/0.6055, allocations: 52.61 kB / 0.8183 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.6055, allocations: 52.72 kB / 0.8184 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.478e-05/0.6055, allocations: 93.19 kB / 0.8184 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.522e-06/0.6056, allocations: 25.7 kB / 0.8185 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.847e-06/0.6056, allocations: 80.14 kB / 0.8185 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.6056, allocations: 5.516 kB / 0.8185 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.297e-05/0.6056, allocations: 15.12 kB / 0.8186 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.609e-05/0.6056, allocations: 320 kB / 0.8189 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.303e-05/0.6057, allocations: 6.031 kB / 0.8189 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.261e-05/0.6057, allocations: 3.438 kB / 0.8189 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.815e-05/0.6058, allocations: 18.47 kB / 0.8189 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6058, allocations: 0 / 0.8189 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001016/0.6059, allocations: 50.16 kB / 0.8189 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.6059, allocations: 7.156 kB / 0.8189 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.6059, allocations: 3.938 kB / 0.819 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.6059, allocations: 1.031 kB / 0.819 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.443e-05/0.606, allocations: 9.25 kB / 0.819 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.606, allocations: 1.031 kB / 0.819 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.996e-05/0.606, allocations: 1.031 kB / 0.819 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.606, allocations: 5.031 kB / 0.819 GB, free: 5.113 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 3.679e-05/0.6061, allocations: 110.9 kB / 0.8191 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.284e-06/0.6061, allocations: 1.031 kB / 0.8191 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.523e-05/0.6061, allocations: 7.719 kB / 0.8191 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.91e-07/0.6061, allocations: 1.031 kB / 0.8191 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.6061, allocations: 3.469 kB / 0.8191 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.6061, allocations: 1.031 kB / 0.8191 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.5e-05/0.6062, allocations: 142.7 kB / 0.8192 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.6062, allocations: 0 / 0.8192 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.898e-05/0.6062, allocations: 10.12 kB / 0.8192 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.6062, allocations: 0 / 0.8192 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.6062, allocations: 9.094 kB / 0.8192 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.6062, allocations: 0 / 0.8192 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.6062, allocations: 1.188 kB / 0.8192 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.6063, allocations: 65.73 kB / 0.8193 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.343e-05/0.6063, allocations: 81.05 kB / 0.8194 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.6063, allocations: 4.938 kB / 0.8194 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.882e-05/0.6064, allocations: 5.031 kB / 0.8194 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.484e-05/0.6064, allocations: 3.969 kB / 0.8194 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.6064, allocations: 1.031 kB / 0.8194 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.017e-05/0.6064, allocations: 75.28 kB / 0.8195 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.1e-08/0.6064, allocations: 0 / 0.8195 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000166/0.6066, allocations: 1.969 kB / 0.8195 GB, free: 4.547 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.0002796/0.6069, allocations: 0.6078 MB / 0.8201 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000128/0.607, allocations: 15.72 kB / 0.8201 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.607, allocations: 0 / 0.8201 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.683e-05/0.607, allocations: 7.062 kB / 0.8201 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001214/0.6071, allocations: 5.906 kB / 0.8201 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002966/0.6074, allocations: 119.1 kB / 0.8202 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.325e-05/0.6075, allocations: 0.6708 MB / 0.8209 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.842e-05/0.6075, allocations: 4.719 kB / 0.8209 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.133e-05/0.6076, allocations: 11.58 kB / 0.8209 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.6076, allocations: 0 / 0.8209 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02237/0.6299, allocations: 0.9808 MB / 0.8218 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.795/8.424, allocations: 7.078 kB / 0.8218 GB, free: 2.73 MB / 0.5762 GB " [Timeout remaining time 652] (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: 12.386369076091796] Failed to read output from testmodel.py, exit status != 0: 8.491245212964714 8.512043669 7.903240029 Calling exit ...