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.0008883/0.0008883, allocations: 76.45 kB / 19.14 MB, free: 0.7734 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.000993/0.000993, allocations: 165.9 kB / 22.43 MB, free: 2.141 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.9033/0.9033, allocations: 177.2 MB / 202.8 MB, free: 5.773 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.7146/0.7146, allocations: 155 MB / 414.2 MB, free: 0.4922 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: 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.0009597/0.0009597, allocations: 68.95 kB / 0.6187 GB, free: 13.23 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4725/0.4735, allocations: 102 MB / 0.7183 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001552/0.475, allocations: 0.7969 MB / 0.7191 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.000829/0.4759, allocations: 0.906 MB / 0.72 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.77e-05/0.4759, allocations: 2.906 kB / 0.72 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.4761, allocations: 13.64 kB / 0.72 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 3.509e-05/0.4761, allocations: 11.95 kB / 0.72 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.4763, allocations: 31.27 kB / 0.72 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.4764, allocations: 80.2 kB / 0.7201 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.4765, allocations: 18.2 kB / 0.7201 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.4766, allocations: 56.8 kB / 0.7202 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.343e-05/0.4767, allocations: 28.41 kB / 0.7202 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.4767, allocations: 5.688 kB / 0.7202 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.098e-05/0.4768, allocations: 12.62 kB / 0.7202 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.4768, allocations: 10.97 kB / 0.7202 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.592e-05/0.4768, allocations: 24.88 kB / 0.7203 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.477, allocations: 91.09 kB / 0.7203 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.477, allocations: 4 kB / 0.7203 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.853e-06/0.477, allocations: 0 / 0.7203 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.477, allocations: 5 kB / 0.7204 GB, free: 21.72 MB / 0.6355 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.0003774/0.4773, allocations: 315.3 kB / 0.7207 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.4774, allocations: 11.62 kB / 0.7207 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.323e-05/0.4774, allocations: 36.53 kB / 0.7207 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.4775, allocations: 18.06 kB / 0.7207 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.4777, allocations: 148.8 kB / 0.7209 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.4777, allocations: 9.453 kB / 0.7209 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.4777, allocations: 4.609 kB / 0.7209 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.4778, allocations: 67.44 kB / 0.7209 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.4779, allocations: 3.938 kB / 0.7209 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.4779, allocations: 0 / 0.7209 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.4779, allocations: 1.188 kB / 0.7209 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.325e-05/0.4779, allocations: 36.75 kB / 0.721 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.4783, allocations: 281.3 kB / 0.7212 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.4784, allocations: 43.06 kB / 0.7213 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.172e-05/0.4784, allocations: 18.77 kB / 0.7213 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.4784, allocations: 0.7031 kB / 0.7213 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.416e-05/0.4784, allocations: 36.75 kB / 0.7213 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.4784, allocations: 0 / 0.7213 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001771/0.4786, allocations: 72.2 kB / 0.7214 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.057e-05/0.4786, allocations: 57.27 kB / 0.7215 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.975e-05/0.4787, allocations: 138.2 kB / 0.7216 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.815e-06/0.4787, allocations: 26.89 kB / 0.7216 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.312e-05/0.4787, allocations: 94.59 kB / 0.7217 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.317e-05/0.4787, allocations: 10.23 kB / 0.7217 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.659e-05/0.4788, allocations: 20 kB / 0.7217 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.553e-05/0.4788, allocations: 322.9 kB / 0.722 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.964e-05/0.4788, allocations: 14.97 kB / 0.7221 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.655e-05/0.4789, allocations: 18.72 kB / 0.7221 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.307e-05/0.4789, allocations: 31.06 kB / 0.7221 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4789, allocations: 0 / 0.7221 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.072e-05/0.479, allocations: 66.23 kB / 0.7222 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.479, allocations: 6.656 kB / 0.7222 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.479, allocations: 0 / 0.7222 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.479, allocations: 1.344 kB / 0.7222 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.39e-05/0.4791, allocations: 11.75 kB / 0.7222 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/0.4791, allocations: 1.703 kB / 0.7222 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.664e-05/0.4791, allocations: 9.266 kB / 0.7222 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.4791, allocations: 9.906 kB / 0.7222 GB, free: 20.03 MB / 0.6355 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 4.863e-05/0.4792, allocations: 120.6 kB / 0.7223 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.4792, allocations: 8.75 kB / 0.7223 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.328e-05/0.4792, allocations: 10.92 kB / 0.7223 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.4792, allocations: 336 / 0.7223 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4792, allocations: 6.5 kB / 0.7224 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.4792, allocations: 0 / 0.7224 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.609e-05/0.4793, allocations: 149 kB / 0.7225 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4793, allocations: 1.469 kB / 0.7225 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.993e-05/0.4794, allocations: 8.438 kB / 0.7225 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.4794, allocations: 4 kB / 0.7225 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.4794, allocations: 2.25 kB / 0.7225 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4794, allocations: 0.6094 kB / 0.7225 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4794, allocations: 0 / 0.7225 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.154e-05/0.4795, allocations: 161.1 kB / 0.7227 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.088e-05/0.4795, allocations: 15.22 kB / 0.7227 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.4795, allocations: 0.7031 kB / 0.7227 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.889e-05/0.4795, allocations: 13.72 kB / 0.7227 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.4796, allocations: 7.922 kB / 0.7227 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.4796, allocations: 5.688 kB / 0.7227 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.627e-05/0.4796, allocations: 106 kB / 0.7228 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4796, allocations: 1.062 kB / 0.7228 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001492/0.4798, allocations: 7.312 kB / 0.7228 GB, free: 19.46 MB / 0.6355 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.0002228/0.48, allocations: 0.6882 MB / 0.7235 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001072/0.4801, allocations: 36.12 kB / 0.7235 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4801, allocations: 1.312 kB / 0.7235 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.322e-05/0.4801, allocations: 20.09 kB / 0.7235 GB, free: 18.78 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.4803, allocations: 12.34 kB / 0.7236 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008477/0.4812, allocations: 1.39 MB / 0.7249 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.724e-05/0.4812, allocations: 81.23 kB / 0.725 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.222e-05/0.4813, allocations: 9.203 kB / 0.725 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.672e-05/0.4813, allocations: 22.81 kB / 0.725 GB, free: 17.42 MB / 0.6355 GB Notification: Performance of SimCode: time 4.21e-07/0.4813, allocations: 3.938 kB / 0.725 GB, free: 17.41 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01914/0.5005, allocations: 2.701 MB / 0.7277 GB, free: 16.47 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.491/6.992, allocations: 7.312 kB / 0.7277 GB, free: 16.47 MB / 0.6355 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.669089073082432] Failed to read output from testmodel.py, exit status != 0: 7.069498878903687 7.078996363 6.600086807 Calling exit ...