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.0007739/0.0007739, 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.0008405/0.0008405, allocations: 162 kB / 22.43 MB, free: 2.145 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.8414/0.8414, allocations: 177.2 MB / 202.8 MB, free: 5.777 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.6744/0.6744, allocations: 155 MB / 414.2 MB, free: 484 kB / 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.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.0008761/0.0008761, allocations: 69.58 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.4153/0.4162, allocations: 102 MB / 0.7183 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001262/0.4174, allocations: 0.5381 MB / 0.7188 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 4.494e-05/0.4175, allocations: 1.641 kB / 0.7188 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.243e-05/0.4175, allocations: 0 / 0.7188 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.314e-05/0.4175, allocations: 1.094 kB / 0.7188 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 3.074e-05/0.4176, allocations: 3.938 kB / 0.7188 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 3.412e-05/0.4176, allocations: 0 / 0.7188 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.679e-05/0.4177, allocations: 6.719 kB / 0.7188 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 6.399e-05/0.4177, allocations: 1.953 kB / 0.7188 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 3.859e-05/0.4178, allocations: 3.938 kB / 0.7188 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 2.48e-05/0.4178, allocations: 5.875 kB / 0.7188 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.4178, allocations: 0 / 0.7188 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.841e-06/0.4178, allocations: 1.344 kB / 0.7188 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.874e-05/0.4178, allocations: 0 / 0.7188 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.391e-05/0.4179, allocations: 0 / 0.7188 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 7.807e-05/0.4179, allocations: 7.109 kB / 0.7188 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.4179, allocations: 0 / 0.7188 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.966e-06/0.4179, allocations: 1.344 kB / 0.7188 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.418, allocations: 0 / 0.7188 GB, free: 22.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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002794/0.4182, allocations: 240.2 kB / 0.719 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.4183, allocations: 11.95 kB / 0.7191 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.079e-05/0.4183, allocations: 34.75 kB / 0.7191 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.3e-05/0.4183, allocations: 6.469 kB / 0.7191 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.916e-05/0.4184, allocations: 104.5 kB / 0.7192 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.4184, allocations: 384 / 0.7192 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.4184, allocations: 1.656 kB / 0.7192 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.4185, allocations: 40.23 kB / 0.7192 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.4186, allocations: 5.719 kB / 0.7192 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.4186, allocations: 0 / 0.7192 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.4186, allocations: 0 / 0.7192 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.727e-05/0.4186, allocations: 1.25 kB / 0.7192 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002719/0.4189, allocations: 354.2 kB / 0.7196 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.298e-05/0.4189, allocations: 175.4 kB / 0.7197 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.631e-05/0.4189, allocations: 81.61 kB / 0.7198 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.4189, allocations: 75.28 kB / 0.7199 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.419, allocations: 108.1 kB / 0.72 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.419, allocations: 0 / 0.72 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 5.81e-05/0.419, allocations: 27.56 kB / 0.72 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.4191, allocations: 128.3 kB / 0.7201 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.557e-05/0.4191, allocations: 98.92 kB / 0.7202 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.729e-06/0.4191, allocations: 29.83 kB / 0.7203 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.048e-05/0.4191, allocations: 81.23 kB / 0.7203 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.4191, allocations: 7.875 kB / 0.7204 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.386e-05/0.4191, allocations: 12.97 kB / 0.7204 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.088e-05/0.4192, allocations: 315.4 kB / 0.7207 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.348e-06/0.4192, allocations: 0 / 0.7207 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.216e-06/0.4192, allocations: 1.781 kB / 0.7207 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.056e-05/0.4192, allocations: 75.94 kB / 0.7207 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.4192, allocations: 83.22 kB / 0.7208 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 2.515e-05/0.4192, allocations: 28.88 kB / 0.7208 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.4192, allocations: 82.08 kB / 0.7209 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.4193, allocations: 84.02 kB / 0.721 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/0.4193, allocations: 156.8 kB / 0.7212 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.586e-06/0.4193, allocations: 77.02 kB / 0.7212 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/0.4193, allocations: 156.2 kB / 0.7214 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.045e-05/0.4193, allocations: 77.12 kB / 0.7214 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.4193, allocations: 81.2 kB / 0.7215 GB, free: 19.86 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: 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 4.377e-05/0.4194, allocations: 271.5 kB / 0.7218 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.896e-05/0.4194, allocations: 106.9 kB / 0.7219 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.928e-05/0.4194, allocations: 111.8 kB / 0.722 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/0.4194, allocations: 182.6 kB / 0.7222 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.816e-05/0.4195, allocations: 182.8 kB / 0.7223 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-05/0.4195, allocations: 186.2 kB / 0.7225 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.87e-05/0.4196, allocations: 373.1 kB / 0.7229 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/0.4196, allocations: 102.7 kB / 0.723 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.648e-06/0.4196, allocations: 107 kB / 0.7231 GB, free: 18.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.839e-05/0.4196, allocations: 186.4 kB / 0.7233 GB, free: 18.01 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.4196, allocations: 181.9 kB / 0.7234 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.586e-05/0.4196, allocations: 178.1 kB / 0.7236 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.54e-05/0.4196, allocations: 183.1 kB / 0.7238 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.164e-05/0.4197, allocations: 307 kB / 0.7241 GB, free: 17.14 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.012e-05/0.4197, allocations: 119.3 kB / 0.7242 GB, free: 17.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.4197, allocations: 182.9 kB / 0.7244 GB, free: 16.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.07e-05/0.4198, allocations: 111 kB / 0.7245 GB, free: 16.73 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.182e-05/0.4198, allocations: 179.1 kB / 0.7246 GB, free: 16.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.4198, allocations: 102.4 kB / 0.7247 GB, free: 16.44 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.842e-05/0.4198, allocations: 82.89 kB / 0.7248 GB, free: 16.36 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4198, allocations: 0 / 0.7248 GB, free: 16.36 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001663/0.42, allocations: 0 / 0.7248 GB, free: 16.36 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: 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.0001653/0.4201, allocations: 0.8084 MB / 0.7256 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 3.275e-05/0.4202, allocations: 4.094 kB / 0.7256 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.4202, allocations: 0 / 0.7256 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.32e-07/0.4202, allocations: 5.438 kB / 0.7256 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.4204, allocations: 459.5 kB / 0.726 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004772/0.4208, allocations: 1.527 MB / 0.7275 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.866e-05/0.4209, allocations: 55.52 kB / 0.7276 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.494e-06/0.4209, allocations: 2.156 kB / 0.7276 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.304e-05/0.4209, allocations: 8.5 kB / 0.7276 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of SimCode: time 3.41e-07/0.4209, allocations: 0 / 0.7276 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01486/0.4358, allocations: 1.537 MB / 0.7291 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.473/6.909, allocations: 7.984 kB / 0.7291 GB, free: 12.57 MB / 0.6355 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.430687220999971] Failed to read output from testmodel.py, exit status != 0: 6.985578900901601 6.993783295 6.574214928 Calling exit ...