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.001117/0.001117, allocations: 113.9 kB / 18.94 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.001662/0.001662, allocations: 217.2 kB / 22.26 MB, free: 3.699 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.9988/0.9988, allocations: 230.6 MB / 256 MB, free: 9.797 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.7911/0.7911, allocations: 203.8 MB / 0.5042 GB, free: 10.67 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.0009733/0.0009733, allocations: 74.58 kB / 0.7182 GB, free: 4.285 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5654/0.5664, allocations: 102 MB / 0.8179 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Min): time 0.001813/0.5682, allocations: 0.7681 MB / 0.8186 GB, free: 0.7383 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008487/0.5691, allocations: 0.901 MB / 0.8195 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.046e-05/0.5691, allocations: 3.938 kB / 0.8195 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.561e-05/0.5692, allocations: 5.344 kB / 0.8195 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.752e-05/0.5693, allocations: 8.625 kB / 0.8195 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001757/0.5694, allocations: 44.48 kB / 0.8196 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.5696, allocations: 86.94 kB / 0.8196 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.5697, allocations: 29.23 kB / 0.8197 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.54e-05/0.5698, allocations: 33.3 kB / 0.8197 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.335e-05/0.5699, allocations: 52.72 kB / 0.8197 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.571e-05/0.5699, allocations: 7.625 kB / 0.8198 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.925e-05/0.5699, allocations: 8.781 kB / 0.8198 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.348e-05/0.57, allocations: 18.73 kB / 0.8198 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.443e-05/0.57, allocations: 34.61 kB / 0.8198 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.5702, allocations: 92.83 kB / 0.8199 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.5702, allocations: 7.938 kB / 0.8199 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.655e-06/0.5702, allocations: 3.938 kB / 0.8199 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.5702, allocations: 1.375 kB / 0.8199 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005263/0.5707, allocations: 318.2 kB / 0.8202 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.5708, allocations: 10 kB / 0.8202 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.328e-05/0.5708, allocations: 34.47 kB / 0.8203 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.975e-05/0.5708, allocations: 12.36 kB / 0.8203 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.571, allocations: 123.1 kB / 0.8204 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.571, allocations: 8.047 kB / 0.8204 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.571, allocations: 14.53 kB / 0.8204 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.5712, allocations: 105.2 kB / 0.8205 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.5712, allocations: 3.188 kB / 0.8205 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.5712, allocations: 0 / 0.8205 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.5712, allocations: 0 / 0.8205 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002299/0.5715, allocations: 101.9 kB / 0.8206 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004797/0.572, allocations: 310.2 kB / 0.8209 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004192/0.5724, allocations: 125.3 kB / 0.821 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.5725, allocations: 48.75 kB / 0.8211 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.5725, allocations: 1.656 kB / 0.8211 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.5725, allocations: 33.06 kB / 0.8211 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.703e-06/0.5725, allocations: 0 / 0.8211 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004416/0.573, allocations: 186 kB / 0.8213 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.573, allocations: 53.03 kB / 0.8213 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.665e-05/0.5731, allocations: 126.9 kB / 0.8215 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.5731, allocations: 27.95 kB / 0.8215 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.112e-05/0.5732, allocations: 91.83 kB / 0.8216 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.5732, allocations: 23.97 kB / 0.8216 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/0.5732, allocations: 32.42 kB / 0.8216 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.861e-05/0.5733, allocations: 318.8 kB / 0.8219 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.5735, allocations: 47.55 kB / 0.822 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.5736, allocations: 44.73 kB / 0.822 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/0.5738, allocations: 104.8 kB / 0.8221 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.5738, allocations: 0 / 0.8221 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002591/0.574, allocations: 137.6 kB / 0.8222 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.574, allocations: 4.656 kB / 0.8223 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.5741, allocations: 2 kB / 0.8223 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.5741, allocations: 0 / 0.8223 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.648e-05/0.5742, allocations: 27.84 kB / 0.8223 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.5742, allocations: 8 kB / 0.8223 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.324e-05/0.5742, allocations: 14.28 kB / 0.8223 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.5742, allocations: 4 kB / 0.8223 GB, free: 14.04 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 8.218e-05/0.5743, allocations: 120.4 kB / 0.8224 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.038e-05/0.5743, allocations: 10.83 kB / 0.8224 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003184/0.5747, allocations: 148 kB / 0.8226 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.5747, allocations: 1.969 kB / 0.8226 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.5747, allocations: 4.641 kB / 0.8226 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.5747, allocations: 0 / 0.8226 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.5748, allocations: 174.3 kB / 0.8227 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.5748, allocations: 0 / 0.8227 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.709e-05/0.5749, allocations: 30.48 kB / 0.8228 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.5749, allocations: 0 / 0.8228 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.5749, allocations: 0.6094 kB / 0.8228 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.575, allocations: 3.391 kB / 0.8228 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.575, allocations: 7.875 kB / 0.8228 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.5752, allocations: 230.8 kB / 0.823 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.416e-05/0.5753, allocations: 11.36 kB / 0.823 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.5753, allocations: 0.7031 kB / 0.823 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.955e-05/0.5753, allocations: 12.88 kB / 0.823 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.37e-05/0.5754, allocations: 25.75 kB / 0.8231 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.5754, allocations: 2.312 kB / 0.8231 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.932e-05/0.5755, allocations: 102.7 kB / 0.8232 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5755, allocations: 0 / 0.8232 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001645/0.5756, allocations: 20.19 kB / 0.8232 GB, free: 13.39 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.0008019/0.5764, allocations: 0.7667 MB / 0.8239 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002819/0.5767, allocations: 104.4 kB / 0.824 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.5767, allocations: 0 / 0.824 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.5768, allocations: 62.45 kB / 0.8241 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.5771, allocations: 16.34 kB / 0.8241 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.5787, allocations: 1.536 MB / 0.8256 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/0.5789, allocations: 0.695 MB / 0.8263 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.161e-05/0.5789, allocations: 16.19 kB / 0.8263 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.005e-05/0.579, allocations: 31 kB / 0.8263 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of SimCode: time 1.052e-06/0.579, allocations: 4 kB / 0.8263 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01856/0.5976, allocations: 2.847 MB / 0.8291 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.584/7.182, allocations: 9.984 kB / 0.8291 GB, free: 10.15 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: 10.2161032599397] Failed to read output from testmodel.py, exit status != 0: 7.260996486991644 7.272747019 6.700341413 Calling exit ...