Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.0007863/0.0007863, allocations: 72.47 kB / 19.14 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.0007926/0.0007926, allocations: 165.9 kB / 22.43 MB, free: 2.141 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.8903/0.8903, allocations: 177.2 MB / 202.8 MB, free: 5.559 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.6844/0.6844, allocations: 155 MB / 414.2 MB, free: 428 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.Reals.Validation.AddParameter,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_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.000944/0.000944, allocations: 69.09 kB / 0.6187 GB, free: 13.03 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.4106/0.4116, allocations: 102 MB / 0.7183 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.00141/0.413, allocations: 0.6592 MB / 0.719 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.000691/0.4137, allocations: 0.8177 MB / 0.7198 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.447e-05/0.4137, allocations: 1 kB / 0.7198 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.609e-05/0.4137, allocations: 0 / 0.7198 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.731e-05/0.4138, allocations: 5.422 kB / 0.7198 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 5.612e-05/0.4138, allocations: 11.22 kB / 0.7198 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.096e-05/0.4139, allocations: 25.31 kB / 0.7198 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.414, allocations: 7.281 kB / 0.7198 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.433e-05/0.4141, allocations: 11.5 kB / 0.7198 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.391e-05/0.4141, allocations: 10.25 kB / 0.7198 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.4141, allocations: 2.375 kB / 0.7198 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.009e-06/0.4141, allocations: 1.312 kB / 0.7198 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.787e-05/0.4142, allocations: 6.688 kB / 0.7198 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.27e-05/0.4142, allocations: 14.88 kB / 0.7198 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.315e-05/0.4143, allocations: 29.91 kB / 0.7199 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.4143, allocations: 4.703 kB / 0.7199 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.475e-06/0.4143, allocations: 0 / 0.7199 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.4143, allocations: 0 / 0.7199 GB, free: 22.1 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003374/0.4146, allocations: 261.2 kB / 0.7201 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.4147, allocations: 10.95 kB / 0.7201 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.727e-05/0.4147, allocations: 36.22 kB / 0.7202 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.247e-05/0.4147, allocations: 6.844 kB / 0.7202 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.736e-05/0.4148, allocations: 113.1 kB / 0.7203 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.4148, allocations: 1.844 kB / 0.7203 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.4148, allocations: 1.812 kB / 0.7203 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.415, allocations: 53.45 kB / 0.7203 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.415, allocations: 3.938 kB / 0.7203 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.415, allocations: 0 / 0.7203 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.415, allocations: 5.375 kB / 0.7204 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.661e-05/0.4151, allocations: 31.78 kB / 0.7204 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002644/0.4153, allocations: 213 kB / 0.7206 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.571e-05/0.4154, allocations: 44.08 kB / 0.7206 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.51e-05/0.4155, allocations: 29.56 kB / 0.7207 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.4155, allocations: 0.8438 kB / 0.7207 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.45e-05/0.4155, allocations: 32.5 kB / 0.7207 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.4155, allocations: 3.938 kB / 0.7207 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000228/0.4157, allocations: 88.19 kB / 0.7208 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.4158, allocations: 55.98 kB / 0.7208 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.966e-05/0.4158, allocations: 106.7 kB / 0.7209 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.669e-06/0.4158, allocations: 26.92 kB / 0.721 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.386e-05/0.4158, allocations: 81.98 kB / 0.721 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.4159, allocations: 9.406 kB / 0.721 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-05/0.4159, allocations: 12.84 kB / 0.7211 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.297e-05/0.4159, allocations: 314.3 kB / 0.7214 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.752e-05/0.416, allocations: 17.45 kB / 0.7214 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.055e-05/0.416, allocations: 14.41 kB / 0.7214 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.633e-05/0.4161, allocations: 46 kB / 0.7214 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4161, allocations: 3.938 kB / 0.7214 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001124/0.4162, allocations: 66.56 kB / 0.7215 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.4162, allocations: 5.781 kB / 0.7215 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.4162, allocations: 0.6094 kB / 0.7215 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.4162, allocations: 1.25 kB / 0.7215 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.133e-05/0.4163, allocations: 11.83 kB / 0.7215 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.4163, allocations: 1.438 kB / 0.7215 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.649e-05/0.4163, allocations: 10.3 kB / 0.7215 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.4164, allocations: 0 / 0.7215 GB, free: 20.54 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 (2): * Single equations (assignments): 2 * 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.078e-05/0.4164, allocations: 119 kB / 0.7216 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.4164, allocations: 5.812 kB / 0.7216 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.777e-05/0.4164, allocations: 9.25 kB / 0.7217 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.4164, allocations: 1.312 kB / 0.7217 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.4164, allocations: 0 / 0.7217 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.4164, allocations: 0.6094 kB / 0.7217 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.837e-05/0.4165, allocations: 132.5 kB / 0.7218 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4165, allocations: 2 kB / 0.7218 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.435e-05/0.4165, allocations: 7.641 kB / 0.7218 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.4165, allocations: 1.766 kB / 0.7218 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.4165, allocations: 0 / 0.7218 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.4165, allocations: 0 / 0.7218 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.4165, allocations: 1.875 kB / 0.7218 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.4167, allocations: 167.2 kB / 0.722 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.291e-06/0.4167, allocations: 6.141 kB / 0.722 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.4167, allocations: 5.766 kB / 0.722 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.601e-05/0.4167, allocations: 9.375 kB / 0.722 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.4167, allocations: 2.609 kB / 0.722 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.4168, allocations: 1.781 kB / 0.722 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.764e-05/0.4168, allocations: 84.12 kB / 0.7221 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4168, allocations: 0 / 0.7221 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001331/0.4169, allocations: 8.375 kB / 0.7221 GB, free: 20 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 (2): * Single equations (assignments): 2 * 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.0002369/0.4171, allocations: 0.7001 MB / 0.7227 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001345/0.4173, allocations: 34.95 kB / 0.7228 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4173, allocations: 1.156 kB / 0.7228 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.218e-05/0.4173, allocations: 19.58 kB / 0.7228 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.4176, allocations: 3.5 kB / 0.7228 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.4179, allocations: 140.7 kB / 0.7229 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.093e-05/0.4179, allocations: 59.75 kB / 0.723 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.456e-05/0.418, allocations: 5.609 kB / 0.723 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.317e-05/0.418, allocations: 14.16 kB / 0.723 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of SimCode: time 1.143e-06/0.418, allocations: 0 / 0.723 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01642/0.4344, allocations: 1.952 MB / 0.7249 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.622/7.057, allocations: 7.094 kB / 0.7249 GB, free: 18.18 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_AddParameter_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_AddParameter.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.613043422112241] Failed to read output from testmodel.py, exit status != 0: 7.133468866115436 7.146025246 6.72995712 Calling exit ...