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.001133/0.001133, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001054/0.001054, allocations: 211.1 kB / 22.25 MB, free: 3.578 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.9217/0.9217, 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.7455/0.7455, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.0008548/0.0008548, allocations: 70.36 kB / 0.7182 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4548/0.4556, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.00142/0.4571, allocations: 0.5373 MB / 0.8183 GB, free: 0.7188 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 3.642e-05/0.4571, allocations: 0 / 0.8183 GB, free: 0.7188 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.568e-05/0.4571, allocations: 3.938 kB / 0.8183 GB, free: 0.7148 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.542e-05/0.4572, allocations: 0 / 0.8183 GB, free: 0.7148 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.476e-05/0.4572, allocations: 0 / 0.8183 GB, free: 0.7148 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 2.992e-05/0.4572, allocations: 6.547 kB / 0.8183 GB, free: 0.7109 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.373e-05/0.4573, allocations: 4 kB / 0.8183 GB, free: 0.707 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.955e-05/0.4573, allocations: 5.109 kB / 0.8183 GB, free: 0.707 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.023e-05/0.4573, allocations: 4.688 kB / 0.8183 GB, free: 0.7031 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 1.879e-05/0.4574, allocations: 0 / 0.8183 GB, free: 0.7031 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.4574, allocations: 3.688 kB / 0.8184 GB, free: 0.7031 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.797e-06/0.4574, allocations: 0 / 0.8184 GB, free: 0.7031 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.316e-05/0.4574, allocations: 0 / 0.8184 GB, free: 0.7031 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.779e-05/0.4574, allocations: 0 / 0.8184 GB, free: 0.7031 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.911e-05/0.4575, allocations: 5.438 kB / 0.8184 GB, free: 0.6992 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4575, allocations: 0 / 0.8184 GB, free: 0.6992 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4575, allocations: 7.938 kB / 0.8184 GB, free: 0.6914 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.4575, allocations: 0 / 0.8184 GB, free: 0.6914 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.0001906/0.4577, allocations: 246.3 kB / 0.8186 GB, free: 440 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.4577, allocations: 10.53 kB / 0.8186 GB, free: 440 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.025e-05/0.4577, allocations: 30.75 kB / 0.8186 GB, free: 400 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.694e-05/0.4577, allocations: 5.734 kB / 0.8186 GB, free: 396 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.26e-05/0.4578, allocations: 108.5 kB / 0.8187 GB, free: 264 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.4578, allocations: 384 / 0.8187 GB, free: 264 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.143e-06/0.4578, allocations: 2.062 kB / 0.8187 GB, free: 264 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.571e-05/0.4579, allocations: 29.73 kB / 0.8188 GB, free: 232 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.4579, allocations: 7.938 kB / 0.8188 GB, free: 224 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.901e-06/0.4579, allocations: 3.984 kB / 0.8188 GB, free: 220 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.4579, allocations: 0.7031 kB / 0.8188 GB, free: 220 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.393e-05/0.4579, allocations: 8.562 kB / 0.8188 GB, free: 212 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000226/0.4581, allocations: 352.1 kB / 0.8191 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.199e-05/0.4582, allocations: 169.1 kB / 0.8193 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.307e-05/0.4582, allocations: 80.66 kB / 0.8194 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.4582, allocations: 79.19 kB / 0.8194 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.4583, allocations: 106.6 kB / 0.8195 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.4583, allocations: 3.938 kB / 0.8196 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 5.091e-05/0.4583, allocations: 30.41 kB / 0.8196 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.4584, allocations: 130.6 kB / 0.8197 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.486e-05/0.4584, allocations: 97.48 kB / 0.8198 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.316e-06/0.4584, allocations: 25.7 kB / 0.8198 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.09e-05/0.4585, allocations: 81.08 kB / 0.8199 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.4585, allocations: 0 / 0.8199 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.423e-05/0.4585, allocations: 11.12 kB / 0.8199 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.328e-05/0.4585, allocations: 313.1 kB / 0.8202 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.819e-06/0.4586, allocations: 3.938 kB / 0.8202 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.336e-06/0.4586, allocations: 0 / 0.8202 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.888e-05/0.4586, allocations: 83.23 kB / 0.8203 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.67e-05/0.4586, allocations: 79.22 kB / 0.8204 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.525e-05/0.4586, allocations: 38.8 kB / 0.8204 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.4587, allocations: 80.81 kB / 0.8205 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-05/0.4587, allocations: 79.92 kB / 0.8206 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.296e-05/0.4587, allocations: 157.5 kB / 0.8207 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.748e-05/0.4587, allocations: 75.28 kB / 0.8208 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.482e-05/0.4588, allocations: 155 kB / 0.8209 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.37e-05/0.4588, allocations: 80.25 kB / 0.821 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.4588, allocations: 75.28 kB / 0.8211 GB, free: 13.79 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 7.875e-05/0.4589, allocations: 271.5 kB / 0.8213 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/0.4589, allocations: 107.6 kB / 0.8214 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.408e-05/0.459, allocations: 115.3 kB / 0.8215 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.834e-05/0.459, allocations: 176.3 kB / 0.8217 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.202e-05/0.4591, allocations: 183 kB / 0.8219 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.061e-05/0.4591, allocations: 183.4 kB / 0.8221 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.4592, allocations: 378.1 kB / 0.8224 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-05/0.4593, allocations: 101.6 kB / 0.8225 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.458e-05/0.4593, allocations: 101.7 kB / 0.8226 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.952e-05/0.4593, allocations: 182.3 kB / 0.8228 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.563e-05/0.4594, allocations: 188.9 kB / 0.823 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.875e-05/0.4594, allocations: 185.2 kB / 0.8232 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.821e-05/0.4594, allocations: 176.3 kB / 0.8233 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.348e-05/0.4595, allocations: 315.2 kB / 0.8236 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.187e-05/0.4596, allocations: 106.8 kB / 0.8237 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.753e-05/0.4596, allocations: 181.5 kB / 0.8239 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.47e-05/0.4597, allocations: 105.7 kB / 0.824 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.4597, allocations: 184.5 kB / 0.8242 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.4597, allocations: 101.6 kB / 0.8243 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.05e-05/0.4598, allocations: 83.53 kB / 0.8243 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4598, allocations: 0 / 0.8243 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001531/0.4599, allocations: 4.094 kB / 0.8244 GB, free: 10.28 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.0002795/0.4602, allocations: 0.8116 MB / 0.8251 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 3.845e-05/0.4602, allocations: 0.8125 kB / 0.8251 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4602, allocations: 0 / 0.8251 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.263e-06/0.4602, allocations: 2.656 kB / 0.8251 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.4605, allocations: 454.2 kB / 0.8256 GB, free: 9.016 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006968/0.4612, allocations: 1.529 MB / 0.8271 GB, free: 7.441 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.584e-05/0.4612, allocations: 60.42 kB / 0.8271 GB, free: 7.367 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.432e-06/0.4612, allocations: 0 / 0.8271 GB, free: 7.367 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.4612, allocations: 7.438 kB / 0.8271 GB, free: 7.359 MB / 0.6198 GB Notification: Performance of SimCode: time 4.71e-07/0.4612, allocations: 0 / 0.8271 GB, free: 7.359 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0152/0.4765, allocations: 1.414 MB / 0.8285 GB, free: 6.543 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.611/7.088, allocations: 7.875 kB / 0.8285 GB, free: 6.543 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 9.825642463751137] Failed to read output from testmodel.py, exit status != 0: 7.163828398566693 7.177615765 6.716031891 Calling exit ...