Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.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.0007284/0.0007284, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0008543/0.0008543, allocations: 212.1 kB / 22.25 MB, free: 3.727 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.9199/0.9199, allocations: 230.6 MB / 256 MB, free: 9.594 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.7762/0.7762, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.Min,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Min",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.0009121/0.0009121, allocations: 65.8 kB / 0.7182 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5284/0.5294, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Min): time 0.001486/0.5308, allocations: 0.7566 MB / 0.8185 GB, free: 0.5547 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008333/0.5317, allocations: 0.8856 MB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.173e-05/0.5317, allocations: 0 / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.564e-05/0.5318, allocations: 9.188 kB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.85e-05/0.5318, allocations: 17.06 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.532, allocations: 43.38 kB / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.5321, allocations: 84.31 kB / 0.8195 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.5322, allocations: 18 kB / 0.8196 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.5323, allocations: 44.08 kB / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.862e-05/0.5324, allocations: 42.53 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.5324, allocations: 7.219 kB / 0.8197 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.535e-05/0.5325, allocations: 7.594 kB / 0.8197 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.952e-05/0.5325, allocations: 21.98 kB / 0.8197 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.293e-05/0.5325, allocations: 32.17 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.5327, allocations: 88.45 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.5327, allocations: 3.938 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5327, allocations: 0 / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.5327, allocations: 0 / 0.8198 GB, free: 15.7 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005613/0.5333, allocations: 329.7 kB / 0.8201 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.5333, allocations: 11.06 kB / 0.8201 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.028e-05/0.5333, allocations: 31.97 kB / 0.8202 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.5334, allocations: 9.141 kB / 0.8202 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.5335, allocations: 121.2 kB / 0.8203 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.5335, allocations: 7.094 kB / 0.8203 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.5336, allocations: 13.34 kB / 0.8203 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/0.5338, allocations: 100.5 kB / 0.8204 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.5338, allocations: 0 / 0.8204 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.5338, allocations: 4.062 kB / 0.8204 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.5339, allocations: 0 / 0.8204 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002419/0.5341, allocations: 110.4 kB / 0.8205 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008712/0.535, allocations: 292.2 kB / 0.8208 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004042/0.5354, allocations: 120.2 kB / 0.8209 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.5355, allocations: 56.06 kB / 0.8209 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.5355, allocations: 0 / 0.8209 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.5355, allocations: 33.56 kB / 0.821 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.5355, allocations: 4 kB / 0.821 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004218/0.5359, allocations: 186.3 kB / 0.8212 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.536, allocations: 52.16 kB / 0.8212 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.536e-05/0.5361, allocations: 131 kB / 0.8213 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.5361, allocations: 25.7 kB / 0.8214 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.393e-05/0.5361, allocations: 97.36 kB / 0.8215 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.5361, allocations: 23.66 kB / 0.8215 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.5362, allocations: 24.7 kB / 0.8215 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.768e-05/0.5363, allocations: 320.6 kB / 0.8218 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.5364, allocations: 42.39 kB / 0.8218 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.5365, allocations: 45.28 kB / 0.8219 GB, free: 14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002131/0.5367, allocations: 100.7 kB / 0.822 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5367, allocations: 0.6094 kB / 0.822 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002459/0.5369, allocations: 145.4 kB / 0.8221 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.5369, allocations: 4.219 kB / 0.8221 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.537, allocations: 3.234 kB / 0.8221 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.537, allocations: 4 kB / 0.8221 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.811e-05/0.5371, allocations: 28.88 kB / 0.8222 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/0.5371, allocations: 7.922 kB / 0.8222 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.761e-05/0.5371, allocations: 9.922 kB / 0.8222 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.5371, allocations: 5.219 kB / 0.8222 GB, free: 13.89 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: 3 (reaToInt1.y,reaToInt.y,min1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.708e-05/0.5372, allocations: 113.5 kB / 0.8223 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.5372, allocations: 14.89 kB / 0.8223 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003106/0.5375, allocations: 154.2 kB / 0.8225 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.5375, allocations: 0 / 0.8225 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/0.5376, allocations: 3.938 kB / 0.8225 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.5376, allocations: 0.6094 kB / 0.8225 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.5377, allocations: 161.5 kB / 0.8226 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.5377, allocations: 0 / 0.8226 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.184e-05/0.5378, allocations: 24.06 kB / 0.8226 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.5378, allocations: 4.703 kB / 0.8226 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.5378, allocations: 1.781 kB / 0.8226 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.5378, allocations: 1.828 kB / 0.8226 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.5378, allocations: 3.938 kB / 0.8226 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002755/0.5381, allocations: 237.2 kB / 0.8229 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.234e-05/0.5381, allocations: 6.484 kB / 0.8229 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.5381, allocations: 1.281 kB / 0.8229 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.888e-05/0.5382, allocations: 16.5 kB / 0.8229 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.5382, allocations: 25.45 kB / 0.8229 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.5383, allocations: 3.828 kB / 0.8229 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.003e-05/0.5383, allocations: 96.98 kB / 0.823 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5383, allocations: 0 / 0.823 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001552/0.5384, allocations: 15.44 kB / 0.823 GB, free: 13.25 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: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0004915/0.5389, allocations: 0.7633 MB / 0.8238 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002766/0.5392, allocations: 111.7 kB / 0.8239 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.5392, allocations: 0 / 0.8239 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.5393, allocations: 55.72 kB / 0.8239 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.5396, allocations: 17.19 kB / 0.824 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.541, allocations: 1.535 MB / 0.8255 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.968e-05/0.5411, allocations: 80.17 kB / 0.8255 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.203e-05/0.5411, allocations: 12.44 kB / 0.8255 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.055e-05/0.5412, allocations: 31.7 kB / 0.8256 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of SimCode: time 9.72e-07/0.5412, allocations: 0 / 0.8256 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02054/0.5617, allocations: 3.372 MB / 0.8289 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.525/7.087, allocations: 5.859 kB / 0.8289 GB, free: 10.17 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Min.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.955993542913347] Failed to read output from testmodel.py, exit status != 0: 7.166209700983018 7.180849354 6.64624838 Calling exit ...