Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.001061/0.001061, allocations: 109.3 kB / 18.93 MB, free: 1.27 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.0009879/0.0009879, allocations: 222.2 kB / 22.25 MB, free: 3.715 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 0.9513/0.9513, allocations: 230.6 MB / 256 MB, free: 9.816 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.8045/0.8045, allocations: 203.8 MB / 0.5042 GB, free: 10.78 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.Integers.Sources.Validation.Constant,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_Constant",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.001155/0.001155, allocations: 73.59 kB / 0.7182 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5619/0.563, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001222/0.5642, allocations: 0.5472 MB / 0.8184 GB, free: 0.9219 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 3.067e-05/0.5643, allocations: 0 / 0.8184 GB, free: 0.9219 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.308e-05/0.5643, allocations: 0 / 0.8184 GB, free: 0.9219 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.662e-05/0.5643, allocations: 0 / 0.8184 GB, free: 0.9219 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.349e-05/0.5643, allocations: 0 / 0.8184 GB, free: 0.9219 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 2.405e-05/0.5643, allocations: 0.75 kB / 0.8184 GB, free: 0.9219 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.404e-05/0.5644, allocations: 9.594 kB / 0.8184 GB, free: 0.9141 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.849e-05/0.5644, allocations: 6.828 kB / 0.8184 GB, free: 0.9141 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.304e-05/0.5644, allocations: 0 / 0.8184 GB, free: 0.9141 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 1.448e-05/0.5645, allocations: 0 / 0.8184 GB, free: 0.9141 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.435e-06/0.5645, allocations: 0 / 0.8184 GB, free: 0.9141 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.42e-06/0.5645, allocations: 0 / 0.8184 GB, free: 0.9141 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.184e-05/0.5645, allocations: 7.922 kB / 0.8184 GB, free: 0.9062 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.54e-05/0.5645, allocations: 0 / 0.8184 GB, free: 0.9062 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 4.623e-05/0.5645, allocations: 7.922 kB / 0.8184 GB, free: 0.9023 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.5645, allocations: 0 / 0.8184 GB, free: 0.9023 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5646, allocations: 0 / 0.8184 GB, free: 0.9023 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.5646, allocations: 4 kB / 0.8184 GB, free: 0.8984 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001674/0.5647, allocations: 243.5 kB / 0.8187 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.5648, allocations: 10 kB / 0.8187 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.586e-05/0.5648, allocations: 34.12 kB / 0.8187 GB, free: 0.5977 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.623e-05/0.5648, allocations: 1.547 kB / 0.8187 GB, free: 0.5977 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.815e-05/0.5648, allocations: 103.8 kB / 0.8188 GB, free: 484 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.153e-06/0.5648, allocations: 384 / 0.8188 GB, free: 484 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.116e-06/0.5649, allocations: 3.438 kB / 0.8188 GB, free: 484 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.323e-05/0.5649, allocations: 34.2 kB / 0.8188 GB, free: 444 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.231e-06/0.5649, allocations: 3.938 kB / 0.8189 GB, free: 440 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.5649, allocations: 1.031 kB / 0.8189 GB, free: 440 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.5649, allocations: 6.297 kB / 0.8189 GB, free: 436 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.214e-05/0.5649, allocations: 3.938 kB / 0.8189 GB, free: 432 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001656/0.5651, allocations: 350 kB / 0.8192 GB, free: 44 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.177e-05/0.5652, allocations: 178.4 kB / 0.8194 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.567e-05/0.5652, allocations: 84.08 kB / 0.8194 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.5652, allocations: 75.28 kB / 0.8195 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.5653, allocations: 111.8 kB / 0.8196 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.5653, allocations: 0 / 0.8196 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 4.955e-05/0.5653, allocations: 28.05 kB / 0.8197 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.5654, allocations: 131.3 kB / 0.8198 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.434e-05/0.5654, allocations: 97.44 kB / 0.8199 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.5654, allocations: 28.97 kB / 0.8199 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.296e-05/0.5655, allocations: 80.14 kB / 0.82 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-06/0.5655, allocations: 0 / 0.82 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.378e-05/0.5655, allocations: 9.719 kB / 0.82 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.114e-05/0.5655, allocations: 312.9 kB / 0.8203 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.827e-06/0.5656, allocations: 0 / 0.8203 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.106e-06/0.5656, allocations: 5.375 kB / 0.8203 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.115e-05/0.5656, allocations: 75.98 kB / 0.8204 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.889e-05/0.5656, allocations: 79.22 kB / 0.8204 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.377e-05/0.5656, allocations: 37.42 kB / 0.8205 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.5657, allocations: 84.31 kB / 0.8206 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.23e-05/0.5657, allocations: 83.81 kB / 0.8206 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.628e-05/0.5657, allocations: 157.5 kB / 0.8208 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.982e-05/0.5657, allocations: 79.94 kB / 0.8209 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.811e-05/0.5658, allocations: 155.2 kB / 0.821 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.808e-05/0.5658, allocations: 76.78 kB / 0.8211 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.5659, allocations: 75.94 kB / 0.8212 GB, free: 13.98 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 8.914e-05/0.5659, allocations: 266.9 kB / 0.8214 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.36e-05/0.566, allocations: 109.3 kB / 0.8215 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.354e-05/0.566, allocations: 112.8 kB / 0.8216 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.104e-05/0.5661, allocations: 180.8 kB / 0.8218 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.653e-05/0.5661, allocations: 180.8 kB / 0.822 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.991e-05/0.5661, allocations: 177.5 kB / 0.8221 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.5663, allocations: 378.8 kB / 0.8225 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.768e-05/0.5663, allocations: 108.9 kB / 0.8226 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.401e-05/0.5663, allocations: 104.9 kB / 0.8227 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.982e-05/0.5664, allocations: 177.1 kB / 0.8229 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.306e-05/0.5664, allocations: 183.7 kB / 0.823 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.973e-05/0.5665, allocations: 189.5 kB / 0.8232 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.995e-05/0.5665, allocations: 180.7 kB / 0.8234 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.074e-05/0.5666, allocations: 313.8 kB / 0.8237 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.216e-05/0.5666, allocations: 105.6 kB / 0.8238 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.814e-05/0.5667, allocations: 181 kB / 0.824 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.644e-05/0.5667, allocations: 105.7 kB / 0.8241 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.455e-05/0.5668, allocations: 188.1 kB / 0.8242 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/0.5668, allocations: 101.6 kB / 0.8243 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.162e-05/0.5668, allocations: 83.94 kB / 0.8244 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5668, allocations: 0 / 0.8244 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001453/0.567, allocations: 0 / 0.8244 GB, free: 10.48 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0003038/0.5673, allocations: 0.8112 MB / 0.8252 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 3.347e-05/0.5673, allocations: 2.516 kB / 0.8252 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.5673, allocations: 0 / 0.8252 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.92e-07/0.5673, allocations: 0 / 0.8252 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.5676, allocations: 461.1 kB / 0.8257 GB, free: 9.203 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006974/0.5683, allocations: 1.527 MB / 0.8271 GB, free: 7.629 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.5685, allocations: 0.6703 MB / 0.8278 GB, free: 6.934 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.402e-06/0.5685, allocations: 0.7969 kB / 0.8278 GB, free: 6.934 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.801e-05/0.5685, allocations: 7.438 kB / 0.8278 GB, free: 6.926 MB / 0.6198 GB Notification: Performance of SimCode: time 5.61e-07/0.5685, allocations: 0 / 0.8278 GB, free: 6.926 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01444/0.5829, allocations: 1.014 MB / 0.8288 GB, free: 6.527 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.649/7.232, allocations: 7.938 kB / 0.8288 GB, free: 6.52 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.219197988975793] Failed to read output from testmodel.py, exit status != 0: 7.3078086990863085 7.317894445 6.751141666 Calling exit ...