Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.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.000818/0.000818, allocations: 80.45 kB / 19.15 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.0009922/0.0009922, allocations: 170 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.8942/0.8942, allocations: 177.2 MB / 202.8 MB, free: 5.758 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:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7408/0.7408, allocations: 154.9 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.LessThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_LessThreshold",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.0009446/0.0009446, allocations: 72.39 kB / 0.6187 GB, free: 13.21 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.4694/0.4704, allocations: 102 MB / 0.7183 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001558/0.4719, allocations: 0.778 MB / 0.719 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008527/0.4728, allocations: 0.9066 MB / 0.7199 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.198e-05/0.4729, allocations: 5.969 kB / 0.7199 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.473, allocations: 10.97 kB / 0.7199 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 3.118e-05/0.473, allocations: 20.02 kB / 0.72 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002066/0.4732, allocations: 27.52 kB / 0.72 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.4733, allocations: 75.53 kB / 0.7201 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.4734, allocations: 30.02 kB / 0.7201 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.4736, allocations: 53.62 kB / 0.7201 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.731e-05/0.4737, allocations: 28.53 kB / 0.7202 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.4737, allocations: 5.781 kB / 0.7202 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 3.914e-05/0.4737, allocations: 8 kB / 0.7202 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.038e-05/0.4737, allocations: 16.53 kB / 0.7202 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.4738, allocations: 23.84 kB / 0.7202 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.4739, allocations: 87.61 kB / 0.7203 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.4739, allocations: 0 / 0.7203 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4739, allocations: 0 / 0.7203 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.4739, allocations: 0 / 0.7203 GB, free: 21.78 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.0003865/0.4743, allocations: 323.4 kB / 0.7206 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.4744, allocations: 11.61 kB / 0.7206 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.273e-05/0.4744, allocations: 36.69 kB / 0.7207 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.4745, allocations: 25.52 kB / 0.7207 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.4747, allocations: 144.3 kB / 0.7208 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.4747, allocations: 2.016 kB / 0.7208 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.4747, allocations: 7.281 kB / 0.7208 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.4748, allocations: 67.45 kB / 0.7209 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.4748, allocations: 3.938 kB / 0.7209 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.4748, allocations: 0 / 0.7209 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.4748, allocations: 2.125 kB / 0.7209 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.885e-05/0.4749, allocations: 31.81 kB / 0.7209 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003184/0.4752, allocations: 283.3 kB / 0.7212 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.4753, allocations: 49.97 kB / 0.7212 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.236e-05/0.4754, allocations: 14.7 kB / 0.7213 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.4754, allocations: 1.156 kB / 0.7213 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.449e-05/0.4754, allocations: 36.23 kB / 0.7213 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.4754, allocations: 0 / 0.7213 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.000188/0.4756, allocations: 72.97 kB / 0.7214 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.135e-05/0.4756, allocations: 51.41 kB / 0.7214 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.914e-05/0.4757, allocations: 136.2 kB / 0.7215 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.504e-06/0.4757, allocations: 26.86 kB / 0.7216 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.312e-05/0.4757, allocations: 99.47 kB / 0.7217 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.383e-05/0.4757, allocations: 14.62 kB / 0.7217 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.42e-05/0.4758, allocations: 14.5 kB / 0.7217 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.328e-05/0.4758, allocations: 323.7 kB / 0.722 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.455e-05/0.4758, allocations: 18 kB / 0.722 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.742e-05/0.4759, allocations: 16.19 kB / 0.722 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.3e-05/0.4759, allocations: 30.02 kB / 0.7221 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4759, allocations: 1.219 kB / 0.7221 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.476e-05/0.476, allocations: 70.11 kB / 0.7221 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.476, allocations: 8.75 kB / 0.7221 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.476, allocations: 1.984 kB / 0.7221 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.476, allocations: 0 / 0.7221 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.362e-05/0.4761, allocations: 4.312 kB / 0.7221 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.4761, allocations: 2.016 kB / 0.7221 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.689e-05/0.4761, allocations: 8.953 kB / 0.7222 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.4761, allocations: 5.156 kB / 0.7222 GB, free: 20.09 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 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.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.924e-05/0.4762, allocations: 116.6 kB / 0.7223 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.432e-05/0.4762, allocations: 19.53 kB / 0.7223 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.261e-05/0.4762, allocations: 11.89 kB / 0.7223 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.4762, allocations: 3.984 kB / 0.7223 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.4762, allocations: 1.719 kB / 0.7223 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.4762, allocations: 0 / 0.7223 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.966e-05/0.4763, allocations: 146.1 kB / 0.7224 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-07/0.4763, allocations: 1.281 kB / 0.7224 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.008e-05/0.4763, allocations: 7.438 kB / 0.7225 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.4763, allocations: 1.938 kB / 0.7225 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.4764, allocations: 4.562 kB / 0.7225 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.4764, allocations: 1.094 kB / 0.7225 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4764, allocations: 4 kB / 0.7225 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.4765, allocations: 161.2 kB / 0.7226 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.03e-05/0.4765, allocations: 6.75 kB / 0.7226 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.4765, allocations: 2.219 kB / 0.7226 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.799e-05/0.4765, allocations: 9.188 kB / 0.7226 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.497e-05/0.4766, allocations: 12.52 kB / 0.7226 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.4766, allocations: 1.812 kB / 0.7226 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.923e-05/0.4766, allocations: 104 kB / 0.7227 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4766, allocations: 1.156 kB / 0.7227 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001426/0.4768, allocations: 15.38 kB / 0.7228 GB, free: 19.52 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 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.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.0002219/0.477, allocations: 0.6877 MB / 0.7234 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001082/0.4771, allocations: 32.91 kB / 0.7235 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4771, allocations: 0 / 0.7235 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.311e-05/0.4771, allocations: 20.08 kB / 0.7235 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.4773, allocations: 13.77 kB / 0.7235 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009361/0.4783, allocations: 1.397 MB / 0.7249 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.212e-05/0.4783, allocations: 81.97 kB / 0.7249 GB, free: 17.49 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.773e-05/0.4784, allocations: 4.969 kB / 0.7249 GB, free: 17.49 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.626e-05/0.4784, allocations: 22.14 kB / 0.725 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of SimCode: time 8.82e-07/0.4784, allocations: 4 kB / 0.725 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0189/0.4973, allocations: 2.699 MB / 0.7276 GB, free: 16.54 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.715/7.212, allocations: 7.406 kB / 0.7276 GB, free: 16.54 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold_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_LessThreshold.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.073127672076225] Failed to read output from testmodel.py, exit status != 0: 7.28963351494167 7.3039002459999995 6.827063637 Calling exit ...