Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.0009083/0.0009083, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008312/0.0008312, allocations: 208.1 kB / 22.25 MB, free: 3.574 MB / 13.93 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.9031/0.9031, allocations: 230.6 MB / 256 MB, free: 9.621 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7651/0.7651, allocations: 203.8 MB / 0.5042 GB, free: 10.45 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001476/0.001476, allocations: 76.27 kB / 0.7182 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4719/0.4734, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001384/0.4748, allocations: 0.6945 MB / 0.8185 GB, free: 0.6172 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000706/0.4755, allocations: 0.8546 MB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.4755, allocations: 7.312 kB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.78e-05/0.4755, allocations: 4.594 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.708e-05/0.4756, allocations: 8.625 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000141/0.4758, allocations: 25.38 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.708e-05/0.4758, allocations: 45.61 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.4759, allocations: 10.61 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.122e-05/0.476, allocations: 23.02 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.605e-05/0.476, allocations: 23.23 kB / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.4761, allocations: 3.719 kB / 0.8195 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.338e-06/0.4761, allocations: 6.375 kB / 0.8195 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.135e-05/0.4761, allocations: 14.59 kB / 0.8195 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.698e-05/0.4761, allocations: 17.92 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.4762, allocations: 51.28 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.4762, allocations: 0 / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4762, allocations: 0 / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.4762, allocations: 0 / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000386/0.4766, allocations: 287.8 kB / 0.8198 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.4767, allocations: 8.094 kB / 0.8198 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.989e-05/0.4767, allocations: 33.33 kB / 0.8199 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.193e-05/0.4767, allocations: 3.438 kB / 0.8199 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.826e-05/0.4768, allocations: 116.6 kB / 0.82 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.4768, allocations: 4.375 kB / 0.82 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.4768, allocations: 10.56 kB / 0.82 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.477, allocations: 69.34 kB / 0.82 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.477, allocations: 0.6094 kB / 0.82 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-06/0.477, allocations: 0 / 0.82 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.477, allocations: 2.812 kB / 0.8201 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.4771, allocations: 48.14 kB / 0.8201 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000335/0.4774, allocations: 261.2 kB / 0.8203 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.4776, allocations: 63.02 kB / 0.8204 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.914e-05/0.4776, allocations: 29.23 kB / 0.8204 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.4776, allocations: 0 / 0.8204 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.4777, allocations: 35.05 kB / 0.8205 GB, free: 15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.4777, allocations: 0 / 0.8205 GB, free: 15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002505/0.4779, allocations: 112.5 kB / 0.8206 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/0.4779, allocations: 51.41 kB / 0.8206 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.317e-05/0.478, allocations: 110 kB / 0.8207 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.478, allocations: 25.7 kB / 0.8208 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.094e-05/0.478, allocations: 93.42 kB / 0.8208 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.4781, allocations: 11.39 kB / 0.8209 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.12e-05/0.4781, allocations: 15.44 kB / 0.8209 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.426e-05/0.4782, allocations: 323.8 kB / 0.8212 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.999e-05/0.4782, allocations: 22.88 kB / 0.8212 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.208e-05/0.4783, allocations: 25.05 kB / 0.8212 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.4784, allocations: 59.53 kB / 0.8213 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4784, allocations: 0.8438 kB / 0.8213 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001362/0.4785, allocations: 90.09 kB / 0.8214 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.4785, allocations: 5.312 kB / 0.8214 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.4785, allocations: 0 / 0.8214 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.4786, allocations: 4.312 kB / 0.8214 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.794e-05/0.4786, allocations: 13.77 kB / 0.8214 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.4786, allocations: 0 / 0.8214 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.502e-05/0.4787, allocations: 8.422 kB / 0.8214 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.4787, allocations: 5.938 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intLesThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.775e-05/0.4787, allocations: 113 kB / 0.8215 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.4788, allocations: 6.781 kB / 0.8215 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.819e-05/0.4788, allocations: 7.422 kB / 0.8215 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.4788, allocations: 0 / 0.8215 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4788, allocations: 0.7031 kB / 0.8215 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.4788, allocations: 0 / 0.8215 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.4789, allocations: 144.2 kB / 0.8217 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.4789, allocations: 0.5156 kB / 0.8217 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.082e-05/0.4789, allocations: 11.98 kB / 0.8217 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.4789, allocations: 1.094 kB / 0.8217 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.4789, allocations: 9.688 kB / 0.8217 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.4789, allocations: 0 / 0.8217 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4789, allocations: 0.5625 kB / 0.8217 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/0.4791, allocations: 191.2 kB / 0.8219 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.558e-06/0.4791, allocations: 4.641 kB / 0.8219 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.4791, allocations: 4.609 kB / 0.8219 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.105e-05/0.4792, allocations: 8.969 kB / 0.8219 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.4792, allocations: 10.88 kB / 0.8219 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.4792, allocations: 2.562 kB / 0.8219 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.518e-05/0.4793, allocations: 92.19 kB / 0.822 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4793, allocations: 0 / 0.822 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001494/0.4794, allocations: 11.52 kB / 0.822 GB, free: 13.66 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.000332/0.4798, allocations: 0.7166 MB / 0.8227 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001481/0.4799, allocations: 51.36 kB / 0.8227 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4799, allocations: 0 / 0.8227 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.223e-05/0.48, allocations: 31.59 kB / 0.8228 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.4802, allocations: 6.797 kB / 0.8228 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009824/0.4812, allocations: 1.338 MB / 0.8241 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.024e-05/0.4812, allocations: 67.72 kB / 0.8242 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.304e-05/0.4813, allocations: 4.734 kB / 0.8242 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.841e-05/0.4813, allocations: 21.2 kB / 0.8242 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.4813, allocations: 0 / 0.8242 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01581/0.4971, allocations: 2.418 MB / 0.8265 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.728/7.226, allocations: 7.781 kB / 0.8265 GB, free: 10.77 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.977240164298564] Failed to read output from testmodel.py, exit status != 0: 7.305230163037777 7.322331096 6.844039001 Calling exit ...