Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.0007778/0.0007778, 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.0008865/0.0008865, allocations: 213.9 kB / 22.25 MB, free: 3.578 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.9089/0.9089, allocations: 230.6 MB / 256 MB, free: 9.586 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.7543/0.7543, allocations: 203.8 MB / 0.5042 GB, free: 10.41 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.LessEqualThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",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.0008591/0.0008591, allocations: 68.38 kB / 0.7182 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.426/0.4268, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001667/0.4285, allocations: 0.6897 MB / 0.8185 GB, free: 0.6016 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006911/0.4292, allocations: 0.856 MB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.642e-05/0.4292, allocations: 0 / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.071e-05/0.4292, allocations: 4.828 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.837e-05/0.4293, allocations: 3.938 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001531/0.4295, allocations: 37.5 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.53e-05/0.4295, allocations: 42.2 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.4296, allocations: 10.53 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.156e-05/0.4297, allocations: 26.12 kB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.964e-05/0.4298, allocations: 24.72 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.4298, allocations: 5.719 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.121e-05/0.4298, allocations: 4.469 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.092e-05/0.4298, allocations: 6.344 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.016e-05/0.4298, allocations: 17.84 kB / 0.8195 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.43, allocations: 52.25 kB / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.43, allocations: 0 / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.884e-06/0.43, allocations: 4 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.43, allocations: 0 / 0.8195 GB, free: 15.84 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.000438/0.4304, allocations: 280.8 kB / 0.8198 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.4304, allocations: 8.25 kB / 0.8198 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.302e-05/0.4305, allocations: 40.89 kB / 0.8199 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.442e-05/0.4305, allocations: 3.375 kB / 0.8199 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.4306, allocations: 111.6 kB / 0.82 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.4306, allocations: 7.812 kB / 0.82 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.4306, allocations: 9.281 kB / 0.82 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.4308, allocations: 68.64 kB / 0.82 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.4308, allocations: 0 / 0.82 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.4308, allocations: 1.125 kB / 0.82 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.4308, allocations: 1.281 kB / 0.82 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.4309, allocations: 47.53 kB / 0.8201 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003304/0.4313, allocations: 263.7 kB / 0.8203 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.4314, allocations: 65.5 kB / 0.8204 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.31e-05/0.4315, allocations: 39.08 kB / 0.8204 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.4315, allocations: 0.6094 kB / 0.8204 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/0.4315, allocations: 30.56 kB / 0.8205 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.4315, allocations: 0 / 0.8205 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002634/0.4318, allocations: 108.9 kB / 0.8206 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.4318, allocations: 54.75 kB / 0.8206 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.092e-05/0.4318, allocations: 106.5 kB / 0.8207 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.4319, allocations: 25.7 kB / 0.8208 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.896e-05/0.4319, allocations: 95.16 kB / 0.8208 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.4319, allocations: 5.719 kB / 0.8209 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.4319, allocations: 20.52 kB / 0.8209 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.405e-05/0.432, allocations: 323.7 kB / 0.8212 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.704e-05/0.4321, allocations: 23.39 kB / 0.8212 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.954e-05/0.4321, allocations: 21.41 kB / 0.8212 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.4322, allocations: 49.34 kB / 0.8213 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4322, allocations: 4 kB / 0.8213 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001288/0.4324, allocations: 93.56 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.4324, allocations: 3.812 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.4324, allocations: 0 / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.4324, allocations: 6.891 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.294e-05/0.4325, allocations: 10 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.4325, allocations: 2.328 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.354e-05/0.4325, allocations: 7.297 kB / 0.8214 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.4325, allocations: 8.5 kB / 0.8214 GB, free: 14.2 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,intLesEquThr.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.542e-05/0.4326, allocations: 114.2 kB / 0.8215 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.322e-05/0.4326, allocations: 2.297 kB / 0.8215 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.841e-05/0.4326, allocations: 7.062 kB / 0.8215 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.4326, allocations: 0 / 0.8215 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4326, allocations: 0.6562 kB / 0.8215 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.4326, allocations: 0 / 0.8215 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.4327, allocations: 141.5 kB / 0.8217 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.4327, allocations: 0.7031 kB / 0.8217 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.728e-05/0.4327, allocations: 12.84 kB / 0.8217 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.4327, allocations: 8.453 kB / 0.8217 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.4328, allocations: 4.516 kB / 0.8217 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.4328, allocations: 4.922 kB / 0.8217 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.4328, allocations: 3.938 kB / 0.8217 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.4329, allocations: 184.7 kB / 0.8219 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.278e-06/0.4329, allocations: 7.234 kB / 0.8219 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.4329, allocations: 0.7969 kB / 0.8219 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.652e-05/0.433, allocations: 12.56 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/0.433, allocations: 15.58 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.433, allocations: 0.6094 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.352e-05/0.4331, allocations: 95.67 kB / 0.822 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4331, allocations: 0 / 0.822 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001421/0.4332, allocations: 11 kB / 0.822 GB, free: 13.64 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 (intLesEquThr.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.0003476/0.4336, allocations: 0.7087 MB / 0.8227 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001587/0.4337, allocations: 58.89 kB / 0.8227 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.4337, allocations: 0 / 0.8227 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.08e-05/0.4338, allocations: 33.08 kB / 0.8228 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.434, allocations: 12.28 kB / 0.8228 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009703/0.435, allocations: 1.32 MB / 0.8241 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.252e-05/0.435, allocations: 69.88 kB / 0.8241 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.144e-05/0.435, allocations: 3.219 kB / 0.8242 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.453e-05/0.4351, allocations: 19.88 kB / 0.8242 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of SimCode: time 3.51e-07/0.4351, allocations: 0 / 0.8242 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01327/0.4483, allocations: 2.415 MB / 0.8265 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.581/7.029, allocations: 12.3 kB / 0.8265 GB, free: 10.76 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.750199958216399] Failed to read output from testmodel.py, exit status != 0: 7.105338184162974 7.12127163 6.688542842 Calling exit ...