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.0007857/0.0007857, 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.0009989/0.0009989, 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.8749/0.8749, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7037/0.7037, allocations: 154.6 MB / 413.7 MB, free: 0.8125 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.655e-06/2.655e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.247e-05, allocations: 11.34 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001342/0.001365, allocations: 0.7878 MB / 0.6189 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009301/0.002295, allocations: 0.9015 MB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.164e-05/0.002386, allocations: 7.938 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.002515, allocations: 19.8 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.34e-05/0.002549, allocations: 11.88 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.00277, allocations: 23.97 kB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.00288, allocations: 79.77 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.002989, allocations: 27.98 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.003114, allocations: 51.77 kB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.564e-05/0.00317, allocations: 23.91 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.003184, allocations: 4 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.714e-05/0.003221, allocations: 12 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.003233, allocations: 7.938 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.356e-05/0.003257, allocations: 23.91 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.003373, allocations: 79.73 kB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.003375, allocations: 0 / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.152e-06/0.003376, allocations: 4 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.516e-06/0.003379, allocations: 0 / 0.6201 GB, free: 11.59 MB / 0.5886 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.0003845/0.003764, allocations: 318 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.0038, allocations: 9.469 kB / 0.6204 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.833e-05/0.003829, allocations: 34.75 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.00393, allocations: 16.88 kB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.004113, allocations: 149.5 kB / 0.6206 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-06/0.004121, allocations: 4.375 kB / 0.6206 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.004132, allocations: 12.38 kB / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.004245, allocations: 58.23 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.004252, allocations: 192 / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.004261, allocations: 384 / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.004266, allocations: 4.125 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.956e-05/0.004336, allocations: 43.91 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003335/0.004669, allocations: 271.8 kB / 0.621 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.004775, allocations: 58.58 kB / 0.6211 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.968e-05/0.004804, allocations: 12.92 kB / 0.6211 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.004818, allocations: 7.938 kB / 0.6211 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.004836, allocations: 30.56 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.004838, allocations: 0 / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0001784/0.005016, allocations: 73.7 kB / 0.6212 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.005049, allocations: 59.34 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.161e-05/0.005121, allocations: 131.9 kB / 0.6214 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.005132, allocations: 25.7 kB / 0.6214 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.937e-05/0.005181, allocations: 104.1 kB / 0.6215 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.354e-05/0.005195, allocations: 15.89 kB / 0.6215 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/0.005222, allocations: 13.72 kB / 0.6215 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.055e-05/0.005302, allocations: 322.8 kB / 0.6218 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.95e-05/0.005332, allocations: 12 kB / 0.6218 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.607e-05/0.005358, allocations: 19.98 kB / 0.6219 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.211e-05/0.00541, allocations: 28.84 kB / 0.6219 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.005412, allocations: 0 / 0.6219 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.004e-05/0.005492, allocations: 69.94 kB / 0.6219 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.005506, allocations: 8 kB / 0.622 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.005511, allocations: 0 / 0.622 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.746e-05/0.005599, allocations: 0 / 0.622 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.017e-05/0.005649, allocations: 4 kB / 0.622 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.005654, allocations: 0 / 0.622 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.684e-05/0.005691, allocations: 15.94 kB / 0.622 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.005697, allocations: 3.984 kB / 0.622 GB, free: 9.5 MB / 0.5886 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 6.777e-05/0.005765, allocations: 122.8 kB / 0.6221 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.00578, allocations: 7.953 kB / 0.6221 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.323e-05/0.005803, allocations: 12.34 kB / 0.6221 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.005806, allocations: 4 kB / 0.6221 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.00581, allocations: 0 / 0.6221 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.005813, allocations: 0 / 0.6221 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.00593, allocations: 148.7 kB / 0.6223 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.91e-07/0.005931, allocations: 0 / 0.6223 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.917e-05/0.00595, allocations: 11.98 kB / 0.6223 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.72e-07/0.005951, allocations: 0 / 0.6223 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.974e-06/0.005958, allocations: 3.938 kB / 0.6223 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.005958, allocations: 0 / 0.6223 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.005959, allocations: 0 / 0.6223 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.006062, allocations: 167.4 kB / 0.6224 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.137e-06/0.006071, allocations: 4 kB / 0.6224 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.006085, allocations: 4 kB / 0.6224 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.46e-05/0.006129, allocations: 7.984 kB / 0.6225 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.006166, allocations: 7.984 kB / 0.6225 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.006168, allocations: 0 / 0.6225 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.413e-05/0.006212, allocations: 113.5 kB / 0.6226 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006212, allocations: 0 / 0.6226 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001413/0.006354, allocations: 15.95 kB / 0.6226 GB, free: 8.809 MB / 0.5886 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.00029/0.006644, allocations: 0.6928 MB / 0.6233 GB, free: 8.086 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.952e-05/0.006743, allocations: 35.97 kB / 0.6233 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.006745, allocations: 0 / 0.6233 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.703e-05/0.006772, allocations: 12 kB / 0.6233 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.006966, allocations: 4 kB / 0.6233 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009005/0.007867, allocations: 1.382 MB / 0.6247 GB, free: 6.57 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.5e-05/0.007912, allocations: 75.33 kB / 0.6247 GB, free: 6.477 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.003e-05/0.007942, allocations: 8.312 kB / 0.6247 GB, free: 6.469 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.434e-05/0.007986, allocations: 20.48 kB / 0.6248 GB, free: 6.449 MB / 0.5886 GB Notification: Performance of SimCode: time 4.71e-07/0.007986, allocations: 0 / 0.6248 GB, free: 6.449 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01791/0.02589, allocations: 2.721 MB / 0.6274 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.105/7.131, allocations: 8.062 kB / 0.6274 GB, free: 3.891 MB / 0.5886 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.816009209491313] Failed to read output from testmodel.py, exit status != 0: 7.213468817062676 7.221710873 7.216707416 Calling exit ...