Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.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.0007951/0.0007951, 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.0008297/0.0008297, 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.8833/0.8833, allocations: 177.2 MB / 202.8 MB, free: 5.793 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.7148/0.7148, allocations: 155 MB / 414.2 MB, free: 464 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.Validation.AddParameter,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_AddParameter",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.0008888/0.0008888, allocations: 67 kB / 0.6187 GB, free: 13.25 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.448/0.4489, allocations: 102 MB / 0.7183 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.00169/0.4506, allocations: 0.6875 MB / 0.7189 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007884/0.4514, allocations: 0.8582 MB / 0.7198 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.016e-05/0.4515, allocations: 2 kB / 0.7198 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.836e-05/0.4515, allocations: 4.734 kB / 0.7198 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.907e-05/0.4516, allocations: 4.594 kB / 0.7198 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.4517, allocations: 22.97 kB / 0.7198 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.802e-05/0.4518, allocations: 47.94 kB / 0.7198 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.4519, allocations: 15.47 kB / 0.7199 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.208e-05/0.452, allocations: 25.06 kB / 0.7199 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.804e-05/0.452, allocations: 24.81 kB / 0.7199 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.4521, allocations: 4.375 kB / 0.7199 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.094e-05/0.4521, allocations: 3.844 kB / 0.7199 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.389e-05/0.4521, allocations: 17.12 kB / 0.7199 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.934e-05/0.4521, allocations: 17.17 kB / 0.7199 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.4523, allocations: 49.34 kB / 0.72 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.4523, allocations: 1.125 kB / 0.72 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.385e-06/0.4523, allocations: 0 / 0.72 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.4523, allocations: 0 / 0.72 GB, free: 21.93 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004319/0.4527, allocations: 293.8 kB / 0.7203 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.4527, allocations: 10.75 kB / 0.7203 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.666e-05/0.4528, allocations: 33.34 kB / 0.7203 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.825e-05/0.4528, allocations: 11.05 kB / 0.7203 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.866e-05/0.4529, allocations: 107.2 kB / 0.7204 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.4529, allocations: 5.469 kB / 0.7204 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.4529, allocations: 6.281 kB / 0.7204 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.4531, allocations: 73.02 kB / 0.7205 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.4531, allocations: 1.156 kB / 0.7205 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.4531, allocations: 8 kB / 0.7205 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.4531, allocations: 1.25 kB / 0.7205 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.4532, allocations: 47.81 kB / 0.7206 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002821/0.4535, allocations: 255.6 kB / 0.7208 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.4536, allocations: 68.06 kB / 0.7209 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.785e-05/0.4537, allocations: 35.14 kB / 0.7209 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.4537, allocations: 5.219 kB / 0.7209 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.643e-05/0.4537, allocations: 32.33 kB / 0.7209 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.4537, allocations: 0 / 0.7209 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002873/0.454, allocations: 110.2 kB / 0.7211 GB, free: 21 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.257e-05/0.454, allocations: 52.44 kB / 0.7211 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.417e-05/0.4541, allocations: 111.9 kB / 0.7212 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/0.4541, allocations: 25.7 kB / 0.7212 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.766e-05/0.4541, allocations: 91.27 kB / 0.7213 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/0.4541, allocations: 15.12 kB / 0.7213 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/0.4542, allocations: 19.78 kB / 0.7214 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.333e-05/0.4542, allocations: 318.3 kB / 0.7217 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.748e-05/0.4543, allocations: 26.11 kB / 0.7217 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.434e-05/0.4543, allocations: 23.05 kB / 0.7217 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.4544, allocations: 52.05 kB / 0.7218 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4544, allocations: 0 / 0.7218 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001351/0.4546, allocations: 91.8 kB / 0.7218 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.4546, allocations: 5 kB / 0.7218 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.4546, allocations: 0 / 0.7218 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.4546, allocations: 5.859 kB / 0.7219 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.921e-05/0.4547, allocations: 13.27 kB / 0.7219 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.4547, allocations: 0 / 0.7219 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.526e-05/0.4547, allocations: 10.98 kB / 0.7219 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.4547, allocations: 1.719 kB / 0.7219 GB, free: 20.27 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: 2 (reaToInt.y,addPar.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 6.132e-05/0.4548, allocations: 121.8 kB / 0.722 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.402e-05/0.4548, allocations: 3.062 kB / 0.722 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.931e-05/0.4548, allocations: 9.078 kB / 0.722 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.4548, allocations: 1.094 kB / 0.722 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4548, allocations: 1.25 kB / 0.722 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.4548, allocations: 4.641 kB / 0.722 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.841e-05/0.4549, allocations: 140.6 kB / 0.7221 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.4549, allocations: 0 / 0.7221 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.454e-05/0.455, allocations: 13.17 kB / 0.7222 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.455, allocations: 1.656 kB / 0.7222 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.455, allocations: 4.844 kB / 0.7222 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.455, allocations: 0 / 0.7222 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.455, allocations: 2.453 kB / 0.7222 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.4551, allocations: 184.3 kB / 0.7223 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.684e-06/0.4552, allocations: 2.125 kB / 0.7223 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.4552, allocations: 2.203 kB / 0.7223 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.624e-05/0.4552, allocations: 9.188 kB / 0.7224 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.591e-05/0.4553, allocations: 12.88 kB / 0.7224 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.4553, allocations: 9.922 kB / 0.7224 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.601e-05/0.4553, allocations: 90.31 kB / 0.7225 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4553, allocations: 0 / 0.7225 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000151/0.4555, allocations: 11.23 kB / 0.7225 GB, free: 19.71 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 (addPar.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0002992/0.4558, allocations: 0.716 MB / 0.7232 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001689/0.4559, allocations: 51.17 kB / 0.7232 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.4559, allocations: 4 kB / 0.7232 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.745e-05/0.456, allocations: 34.19 kB / 0.7233 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.4562, allocations: 7.297 kB / 0.7233 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008722/0.4571, allocations: 1.324 MB / 0.7246 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.912e-05/0.4571, allocations: 68.39 kB / 0.7246 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.225e-05/0.4572, allocations: 4.734 kB / 0.7246 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.708e-05/0.4572, allocations: 22.42 kB / 0.7246 GB, free: 17.71 MB / 0.6355 GB Notification: Performance of SimCode: time 4.71e-07/0.4572, allocations: 1.125 kB / 0.7246 GB, free: 17.71 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01455/0.4718, allocations: 2.535 MB / 0.7271 GB, free: 16.8 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.457/6.928, allocations: 9.781 kB / 0.7271 GB, free: 16.8 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_AddParameter_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_AddParameter.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.57031586393714] Failed to read output from testmodel.py, exit status != 0: 7.006426183041185 7.016955298 6.5627640320000005 Calling exit ...