Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.001147/0.001147, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001417/0.001417, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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.8751/0.8751, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.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.7138/0.7138, allocations: 154.6 MB / 413.7 MB, free: 0.8242 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.Reals.Validation.GreaterThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 0.6181 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.111e-05, allocations: 2.281 kB / 0.6181 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.00148/0.001501, allocations: 0.7864 MB / 0.6189 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0009411/0.002442, allocations: 0.9093 MB / 0.6198 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.864e-05/0.002541, allocations: 4 kB / 0.6198 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.00012/0.002661, allocations: 7.875 kB / 0.6198 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 3.476e-05/0.002696, allocations: 15.86 kB / 0.6198 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.0029, allocations: 31.91 kB / 0.6198 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.003003, allocations: 79.7 kB / 0.6199 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.003114, allocations: 23.98 kB / 0.6199 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.00325, allocations: 51.89 kB / 0.62 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 5.869e-05/0.003308, allocations: 15.92 kB / 0.62 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.003326, allocations: 8 kB / 0.62 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 3.752e-05/0.003363, allocations: 11.94 kB / 0.62 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.00338, allocations: 19.91 kB / 0.62 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 2.203e-05/0.003402, allocations: 15.94 kB / 0.62 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.003537, allocations: 83.72 kB / 0.6201 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.00354, allocations: 0 / 0.6201 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.643e-06/0.003541, allocations: 3.938 kB / 0.6201 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.003546, allocations: 0 / 0.6201 GB, free: 10.49 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004128/0.003959, allocations: 317.9 kB / 0.6204 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.003999, allocations: 9.469 kB / 0.6204 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.297e-05/0.004032, allocations: 42.73 kB / 0.6205 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.004148, allocations: 16.88 kB / 0.6205 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.00436, allocations: 140.3 kB / 0.6206 GB, free: 9.91 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.004371, allocations: 4.375 kB / 0.6206 GB, free: 9.906 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.00438, allocations: 384 / 0.6206 GB, free: 9.906 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.004508, allocations: 78.16 kB / 0.6207 GB, free: 9.824 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.004515, allocations: 192 / 0.6207 GB, free: 9.824 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.004526, allocations: 8.297 kB / 0.6207 GB, free: 9.816 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.004532, allocations: 4.125 kB / 0.6207 GB, free: 9.812 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.24e-05/0.004604, allocations: 31.98 kB / 0.6207 GB, free: 9.781 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004048/0.005009, allocations: 279.7 kB / 0.621 GB, free: 9.465 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.005115, allocations: 46.55 kB / 0.6211 GB, free: 9.41 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.204e-05/0.005147, allocations: 21 kB / 0.6211 GB, free: 9.387 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.005163, allocations: 0 / 0.6211 GB, free: 9.387 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.005185, allocations: 38.59 kB / 0.6211 GB, free: 9.34 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.005186, allocations: 0 / 0.6211 GB, free: 9.34 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0001904/0.005376, allocations: 69.67 kB / 0.6212 GB, free: 9.266 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.005408, allocations: 51.41 kB / 0.6212 GB, free: 9.203 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.673e-05/0.005495, allocations: 141.7 kB / 0.6214 GB, free: 9.055 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.005507, allocations: 25.7 kB / 0.6214 GB, free: 9.023 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.499e-05/0.005562, allocations: 104.1 kB / 0.6215 GB, free: 8.918 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.404e-05/0.005577, allocations: 7.953 kB / 0.6215 GB, free: 8.91 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.005608, allocations: 21.7 kB / 0.6215 GB, free: 8.883 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.164e-05/0.005689, allocations: 318.8 kB / 0.6218 GB, free: 8.562 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.563e-05/0.005725, allocations: 15.98 kB / 0.6218 GB, free: 8.547 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.133e-05/0.005756, allocations: 12 kB / 0.6218 GB, free: 8.535 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.589e-05/0.005812, allocations: 36.77 kB / 0.6219 GB, free: 8.496 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.005815, allocations: 0 / 0.6219 GB, free: 8.496 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.754e-05/0.005902, allocations: 61.64 kB / 0.6219 GB, free: 8.43 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.005915, allocations: 12 kB / 0.622 GB, free: 8.418 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.005919, allocations: 0 / 0.622 GB, free: 8.418 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.005931, allocations: 3.938 kB / 0.622 GB, free: 8.414 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.291e-05/0.005984, allocations: 7.984 kB / 0.622 GB, free: 8.406 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.005988, allocations: 0 / 0.622 GB, free: 8.406 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.553e-05/0.006024, allocations: 11.98 kB / 0.622 GB, free: 8.395 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.00603, allocations: 4 kB / 0.622 GB, free: 8.391 MB / 0.5417 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 (greHys.greHys.y,$PRE.greHys.greHys.y,gre.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 7.264e-05/0.006103, allocations: 126.6 kB / 0.6221 GB, free: 8.258 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/0.006122, allocations: 7.953 kB / 0.6221 GB, free: 8.25 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.657e-05/0.006149, allocations: 12.34 kB / 0.6221 GB, free: 8.227 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.006151, allocations: 0 / 0.6221 GB, free: 8.227 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.006155, allocations: 0 / 0.6221 GB, free: 8.227 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.00616, allocations: 7.984 kB / 0.6221 GB, free: 8.219 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.006278, allocations: 152.7 kB / 0.6223 GB, free: 8.027 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.006279, allocations: 0 / 0.6223 GB, free: 8.027 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.882e-05/0.006298, allocations: 4 kB / 0.6223 GB, free: 8.023 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.006299, allocations: 0 / 0.6223 GB, free: 8.023 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.006306, allocations: 0 / 0.6223 GB, free: 8.023 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.006307, allocations: 0 / 0.6223 GB, free: 8.023 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.006309, allocations: 4.266 kB / 0.6223 GB, free: 8.02 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.006421, allocations: 167.4 kB / 0.6224 GB, free: 7.84 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 9.679e-06/0.00643, allocations: 7.953 kB / 0.6224 GB, free: 7.832 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.006446, allocations: 3.984 kB / 0.6225 GB, free: 7.828 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.974e-05/0.006496, allocations: 15.98 kB / 0.6225 GB, free: 7.812 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.006532, allocations: 11.92 kB / 0.6225 GB, free: 7.801 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.006535, allocations: 0 / 0.6225 GB, free: 7.801 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.508e-05/0.00658, allocations: 106.1 kB / 0.6226 GB, free: 7.699 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.00658, allocations: 0 / 0.6226 GB, free: 7.699 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001663/0.006747, allocations: 4 kB / 0.6226 GB, free: 7.695 MB / 0.5417 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 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0003186/0.007065, allocations: 0.6929 MB / 0.6233 GB, free: 6.977 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.007172, allocations: 39.91 kB / 0.6233 GB, free: 6.938 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.007173, allocations: 0 / 0.6233 GB, free: 6.938 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.976e-05/0.007203, allocations: 15.98 kB / 0.6233 GB, free: 6.922 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.007406, allocations: 8 kB / 0.6233 GB, free: 6.914 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000996/0.008402, allocations: 1.38 MB / 0.6247 GB, free: 5.453 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.134e-05/0.008453, allocations: 75.58 kB / 0.6247 GB, free: 5.359 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.338e-05/0.008487, allocations: 4 kB / 0.6247 GB, free: 5.355 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.374e-05/0.00854, allocations: 32.42 kB / 0.6248 GB, free: 5.324 MB / 0.5417 GB Notification: Performance of SimCode: time 5.71e-07/0.008541, allocations: 0 / 0.6248 GB, free: 5.324 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01867/0.02721, allocations: 2.707 MB / 0.6274 GB, free: 2.773 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.911/6.938, allocations: 10.36 kB / 0.6274 GB, free: 2.77 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.575533768162131] Failed to read output from testmodel.py, exit status != 0: 7.018366759642959 7.03023834 7.023740775 Calling exit ...