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.001055/0.001055, allocations: 109.9 kB / 18.93 MB, free: 1.266 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.00125/0.00125, allocations: 218.3 kB / 22.26 MB, free: 3.695 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 1.004/1.004, allocations: 230.6 MB / 256 MB, free: 9.621 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.8022/0.8022, allocations: 203.8 MB / 0.5042 GB, free: 10.76 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.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.001368/0.001368, allocations: 66.36 kB / 0.7183 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.523/0.5244, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001632/0.526, allocations: 0.8307 MB / 0.8187 GB, free: 0.7188 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008236/0.5269, allocations: 0.9118 MB / 0.8196 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.858e-05/0.5269, allocations: 6.875 kB / 0.8196 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.5271, allocations: 12.7 kB / 0.8196 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.168e-05/0.5271, allocations: 12.48 kB / 0.8196 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.5273, allocations: 36.41 kB / 0.8197 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.5274, allocations: 72.34 kB / 0.8197 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.5276, allocations: 25.61 kB / 0.8198 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.5277, allocations: 47.06 kB / 0.8198 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.042e-05/0.5278, allocations: 28.08 kB / 0.8198 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.5278, allocations: 5.25 kB / 0.8198 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.005e-05/0.5278, allocations: 11.05 kB / 0.8198 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.5278, allocations: 13.86 kB / 0.8199 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.131e-05/0.5279, allocations: 29.16 kB / 0.8199 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.528, allocations: 78.56 kB / 0.82 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.528, allocations: 0 / 0.82 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.483e-06/0.528, allocations: 0 / 0.82 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.5281, allocations: 0 / 0.82 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004197/0.5285, allocations: 326.6 kB / 0.8203 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.5285, allocations: 9.672 kB / 0.8203 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.942e-05/0.5285, allocations: 36.78 kB / 0.8203 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.5287, allocations: 21.89 kB / 0.8203 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.5289, allocations: 146.7 kB / 0.8205 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.5289, allocations: 2.188 kB / 0.8205 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.5289, allocations: 11.66 kB / 0.8205 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.529, allocations: 62.7 kB / 0.8206 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.529, allocations: 3.938 kB / 0.8206 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.529, allocations: 7.906 kB / 0.8206 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.529, allocations: 0 / 0.8206 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.299e-05/0.5291, allocations: 29.75 kB / 0.8206 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004185/0.5295, allocations: 286.5 kB / 0.8209 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.5297, allocations: 46.28 kB / 0.8209 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.722e-05/0.5297, allocations: 25.38 kB / 0.8209 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.5297, allocations: 0 / 0.8209 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.5297, allocations: 30.56 kB / 0.821 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/0.5297, allocations: 4 kB / 0.821 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002163/0.53, allocations: 75.42 kB / 0.821 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.53, allocations: 52.47 kB / 0.8211 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.622e-05/0.5301, allocations: 138.9 kB / 0.8212 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.5301, allocations: 25.7 kB / 0.8212 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002278/0.5303, allocations: 101.2 kB / 0.8213 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.5303, allocations: 15.98 kB / 0.8214 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.5304, allocations: 19.38 kB / 0.8214 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.208e-05/0.5305, allocations: 321.3 kB / 0.8217 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.121e-05/0.5305, allocations: 15.84 kB / 0.8217 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.895e-05/0.5305, allocations: 14.12 kB / 0.8217 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.097e-05/0.5306, allocations: 30.25 kB / 0.8217 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.5306, allocations: 0 / 0.8217 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001006/0.5307, allocations: 71.77 kB / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.5307, allocations: 6.969 kB / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.5307, allocations: 4.703 kB / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.5307, allocations: 48 / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.63e-05/0.5308, allocations: 8.797 kB / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.5308, allocations: 0.6562 kB / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.684e-05/0.5308, allocations: 8.422 kB / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.5309, allocations: 8.344 kB / 0.8218 GB, free: 14.13 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 (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 7.034e-05/0.5309, allocations: 111.7 kB / 0.822 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.721e-05/0.5309, allocations: 11.64 kB / 0.822 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.102e-05/0.531, allocations: 15.91 kB / 0.822 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.531, allocations: 0 / 0.822 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.531, allocations: 5.062 kB / 0.822 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.531, allocations: 0 / 0.822 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.5311, allocations: 154.9 kB / 0.8221 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.5311, allocations: 0 / 0.8221 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.624e-05/0.5312, allocations: 10.22 kB / 0.8221 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.5312, allocations: 0 / 0.8221 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.5312, allocations: 0 / 0.8221 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.5312, allocations: 4 kB / 0.8221 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5312, allocations: 7.938 kB / 0.8222 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.5313, allocations: 157 kB / 0.8223 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.112e-05/0.5313, allocations: 6.969 kB / 0.8223 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.5313, allocations: 6.156 kB / 0.8223 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.955e-05/0.5314, allocations: 10.2 kB / 0.8223 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.889e-05/0.5314, allocations: 8.484 kB / 0.8223 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.5314, allocations: 0.6562 kB / 0.8223 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.185e-05/0.5315, allocations: 113.4 kB / 0.8224 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5315, allocations: 0 / 0.8224 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001422/0.5316, allocations: 6.406 kB / 0.8224 GB, free: 13.57 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: 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.0003247/0.5319, allocations: 0.6925 MB / 0.8231 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001096/0.532, allocations: 35.11 kB / 0.8232 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.532, allocations: 0 / 0.8232 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.201e-05/0.5321, allocations: 21.91 kB / 0.8232 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.5323, allocations: 4.578 kB / 0.8232 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.5333, allocations: 1.384 MB / 0.8245 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/0.5335, allocations: 0.6958 MB / 0.8252 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.933e-05/0.5335, allocations: 9.266 kB / 0.8252 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.751e-05/0.5336, allocations: 26.33 kB / 0.8252 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of SimCode: time 9.12e-07/0.5336, allocations: 0 / 0.8252 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01824/0.5518, allocations: 2.108 MB / 0.8273 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.621/7.173, allocations: 11.66 kB / 0.8273 GB, free: 10.44 MB / 0.6198 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.272841949947178] Failed to read output from testmodel.py, exit status != 0: 7.251246117986739 7.264635509 6.733560173 Calling exit ...