Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.001141/0.001141, allocations: 105.9 kB / 18.93 MB, free: 1.27 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.0008563/0.0008563, allocations: 218.2 kB / 22.25 MB, free: 3.703 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 1.033/1.033, allocations: 230.6 MB / 256 MB, free: 9.805 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.826/0.826, allocations: 203.8 MB / 0.5042 GB, free: 10.75 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.GreaterThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",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.001006/0.001006, allocations: 70.86 kB / 0.7182 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5256/0.5266, allocations: 102 MB / 0.8179 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001484/0.5281, allocations: 0.6973 MB / 0.8186 GB, free: 0.8008 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007137/0.5288, allocations: 0.8703 MB / 0.8194 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.939e-05/0.5288, allocations: 1.469 kB / 0.8194 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.7e-05/0.5289, allocations: 5.156 kB / 0.8194 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.345e-05/0.5289, allocations: 9.297 kB / 0.8194 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001444/0.5291, allocations: 29.42 kB / 0.8194 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.193e-05/0.5292, allocations: 41.94 kB / 0.8195 GB, free: 100 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.5293, allocations: 13.14 kB / 0.8195 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.441e-05/0.5293, allocations: 25.27 kB / 0.8195 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.675e-05/0.5294, allocations: 25.86 kB / 0.8195 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.5294, allocations: 9.812 kB / 0.8196 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.037e-06/0.5294, allocations: 3.562 kB / 0.8196 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.968e-05/0.5294, allocations: 14.34 kB / 0.8196 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.729e-05/0.5295, allocations: 18.08 kB / 0.8196 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.41e-05/0.5296, allocations: 48.05 kB / 0.8196 GB, free: 20 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.5296, allocations: 0 / 0.8196 GB, free: 20 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5296, allocations: 0 / 0.8196 GB, free: 20 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.5296, allocations: 3.344 kB / 0.8196 GB, free: 20 kB / 0.6042 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.0004345/0.53, allocations: 282.4 kB / 0.8199 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.5301, allocations: 13.97 kB / 0.8199 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.279e-05/0.5301, allocations: 33.39 kB / 0.82 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.469e-05/0.5301, allocations: 3.25 kB / 0.82 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.5302, allocations: 120.7 kB / 0.8201 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.5302, allocations: 384 / 0.8201 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.5303, allocations: 8.391 kB / 0.8201 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.5304, allocations: 63.08 kB / 0.8201 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.5304, allocations: 0 / 0.8201 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.5304, allocations: 0.9375 kB / 0.8201 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.5304, allocations: 5.344 kB / 0.8201 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.5306, allocations: 52.62 kB / 0.8202 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004167/0.531, allocations: 273.6 kB / 0.8205 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.5311, allocations: 54.42 kB / 0.8205 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.33e-05/0.5312, allocations: 37.02 kB / 0.8205 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.5312, allocations: 0.9375 kB / 0.8205 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.5312, allocations: 34.55 kB / 0.8206 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.5312, allocations: 0 / 0.8206 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002805/0.5315, allocations: 110.7 kB / 0.8207 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.5315, allocations: 56.06 kB / 0.8207 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.282e-05/0.5316, allocations: 107.9 kB / 0.8208 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.5316, allocations: 25.7 kB / 0.8209 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.981e-05/0.5317, allocations: 91.8 kB / 0.821 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.5317, allocations: 5.266 kB / 0.821 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.5317, allocations: 19.75 kB / 0.821 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.709e-05/0.5318, allocations: 320.5 kB / 0.8213 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.253e-05/0.5319, allocations: 30.3 kB / 0.8213 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.179e-05/0.5319, allocations: 25.78 kB / 0.8213 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.532, allocations: 52.83 kB / 0.8214 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.532, allocations: 0 / 0.8214 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000141/0.5322, allocations: 85.17 kB / 0.8215 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.5322, allocations: 3.406 kB / 0.8215 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.5322, allocations: 5.531 kB / 0.8215 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.5322, allocations: 4.703 kB / 0.8215 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.345e-05/0.5323, allocations: 21.05 kB / 0.8215 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.5323, allocations: 0.7031 kB / 0.8215 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.448e-05/0.5323, allocations: 6.703 kB / 0.8215 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.5323, allocations: 7.938 kB / 0.8215 GB, free: 14.37 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,intGreThr.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 6.13e-05/0.5324, allocations: 106.5 kB / 0.8216 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.489e-05/0.5324, allocations: 7.609 kB / 0.8216 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.862e-05/0.5324, allocations: 8.516 kB / 0.8216 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.5324, allocations: 2.906 kB / 0.8216 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5324, allocations: 4.594 kB / 0.8216 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.5324, allocations: 0 / 0.8216 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.5326, allocations: 149.9 kB / 0.8218 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.5326, allocations: 0 / 0.8218 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.302e-05/0.5326, allocations: 11.92 kB / 0.8218 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5326, allocations: 0 / 0.8218 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.5326, allocations: 2.562 kB / 0.8218 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.5326, allocations: 0 / 0.8218 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5326, allocations: 0 / 0.8218 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.5328, allocations: 189.1 kB / 0.822 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.074e-05/0.5328, allocations: 7.609 kB / 0.822 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.5328, allocations: 0.6094 kB / 0.822 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.131e-05/0.5329, allocations: 7.047 kB / 0.822 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/0.533, allocations: 12.06 kB / 0.822 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.533, allocations: 2.234 kB / 0.822 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.4e-05/0.533, allocations: 105.9 kB / 0.8221 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.533, allocations: 0 / 0.8221 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001482/0.5332, allocations: 7.922 kB / 0.8221 GB, free: 13.81 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 (intGreThr.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.0004471/0.5336, allocations: 0.7152 MB / 0.8228 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001852/0.5338, allocations: 57.31 kB / 0.8229 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.5338, allocations: 3.938 kB / 0.8229 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.778e-05/0.5338, allocations: 27.69 kB / 0.8229 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.5341, allocations: 8.906 kB / 0.8229 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.5352, allocations: 1.324 MB / 0.8242 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001851/0.5354, allocations: 0.6823 MB / 0.8249 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.9e-05/0.5354, allocations: 4.828 kB / 0.8249 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.364e-05/0.5355, allocations: 20.92 kB / 0.8249 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of SimCode: time 9.11e-07/0.5355, allocations: 0 / 0.8249 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01753/0.553, allocations: 1.966 MB / 0.8268 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.465/7.018, allocations: 10.47 kB / 0.8268 GB, free: 10.73 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.072347895940766] Failed to read output from testmodel.py, exit status != 0: 7.100806830916554 7.114049874 6.582293035 Calling exit ...