Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001324/0.001324, allocations: 72.45 kB / 19.02 MB, free: 1.113 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.001577/0.001577, allocations: 167.8 kB / 22.29 MB, free: 3.516 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 1.396/1.396, allocations: 177.2 MB / 202.7 MB, free: 4.812 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.224/1.224, allocations: 154.7 MB / 413.8 MB, free: 3.133 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Controls_OBC_CDL_Reals_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter,fileNamePrefix="IDEAS_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.002161/0.002161, allocations: 68.23 kB / 0.6181 GB, free: 1.043 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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.2147/0.2169, allocations: 102 MB / 0.7177 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.002284/0.2192, allocations: 0.648 MB / 0.7183 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.2205, allocations: 0.8164 MB / 0.7191 GB, free: 9.711 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.344e-05/0.2205, allocations: 3.938 kB / 0.7191 GB, free: 9.707 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.004e-05/0.2206, allocations: 0 / 0.7191 GB, free: 9.707 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.051e-05/0.2206, allocations: 7.938 kB / 0.7192 GB, free: 9.699 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 5.895e-05/0.2207, allocations: 4 kB / 0.7192 GB, free: 9.695 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.222e-05/0.2208, allocations: 19.92 kB / 0.7192 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.2209, allocations: 12 kB / 0.7192 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.707e-05/0.221, allocations: 15.92 kB / 0.7192 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.325e-05/0.221, allocations: 11.98 kB / 0.7192 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.221, allocations: 0 / 0.7192 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-06/0.221, allocations: 4 kB / 0.7192 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.729e-05/0.2211, allocations: 3.938 kB / 0.7192 GB, free: 9.629 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.511e-05/0.2211, allocations: 7.984 kB / 0.7192 GB, free: 9.621 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.766e-05/0.2212, allocations: 32.11 kB / 0.7193 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2212, allocations: 0 / 0.7193 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2212, allocations: 0 / 0.7193 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.2212, allocations: 0 / 0.7193 GB, free: 9.59 MB / 0.6198 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.0004965/0.2217, allocations: 266.3 kB / 0.7195 GB, free: 9.297 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.2217, allocations: 8.031 kB / 0.7195 GB, free: 9.289 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.456e-05/0.2218, allocations: 34.73 kB / 0.7196 GB, free: 9.246 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.623e-05/0.2218, allocations: 8.891 kB / 0.7196 GB, free: 9.238 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.2219, allocations: 114.5 kB / 0.7197 GB, free: 9.102 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.222, allocations: 384 / 0.7197 GB, free: 9.102 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.222, allocations: 4.375 kB / 0.7197 GB, free: 9.098 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.2222, allocations: 50.23 kB / 0.7197 GB, free: 9.043 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.2222, allocations: 7.875 kB / 0.7197 GB, free: 9.035 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.2222, allocations: 4 kB / 0.7197 GB, free: 9.031 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.2222, allocations: 0 / 0.7197 GB, free: 9.031 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.2224, allocations: 35.95 kB / 0.7198 GB, free: 8.996 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003941/0.2227, allocations: 212 kB / 0.72 GB, free: 8.746 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.2229, allocations: 42.53 kB / 0.72 GB, free: 8.695 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.593e-05/0.223, allocations: 24.91 kB / 0.72 GB, free: 8.668 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-06/0.223, allocations: 4 kB / 0.72 GB, free: 8.664 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.223, allocations: 34.56 kB / 0.7201 GB, free: 8.621 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.223, allocations: 0 / 0.7201 GB, free: 8.621 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003637/0.2234, allocations: 85.53 kB / 0.7202 GB, free: 8.531 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.2234, allocations: 55.41 kB / 0.7202 GB, free: 8.465 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.408e-05/0.2235, allocations: 101.8 kB / 0.7203 GB, free: 8.355 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.2235, allocations: 25.7 kB / 0.7203 GB, free: 8.324 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.044e-05/0.2236, allocations: 88.08 kB / 0.7204 GB, free: 8.234 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.2236, allocations: 8.078 kB / 0.7204 GB, free: 8.227 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.2237, allocations: 13.72 kB / 0.7204 GB, free: 8.207 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.2238, allocations: 318.8 kB / 0.7207 GB, free: 7.887 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.349e-05/0.2239, allocations: 19.92 kB / 0.7208 GB, free: 7.867 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.261e-05/0.224, allocations: 15.98 kB / 0.7208 GB, free: 7.852 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.2241, allocations: 32.83 kB / 0.7208 GB, free: 7.816 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.696e-06/0.2241, allocations: 8 kB / 0.7208 GB, free: 7.809 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002011/0.2243, allocations: 73.59 kB / 0.7209 GB, free: 7.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.2243, allocations: 6.188 kB / 0.7209 GB, free: 7.727 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2243, allocations: 0 / 0.7209 GB, free: 7.727 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.2244, allocations: 4 kB / 0.7209 GB, free: 7.723 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.419e-05/0.2244, allocations: 7.984 kB / 0.7209 GB, free: 7.715 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.2244, allocations: 0 / 0.7209 GB, free: 7.715 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.582e-05/0.2245, allocations: 7.984 kB / 0.7209 GB, free: 7.707 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.2245, allocations: 4.031 kB / 0.7209 GB, free: 7.703 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 (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 8.615e-05/0.2246, allocations: 113.8 kB / 0.721 GB, free: 7.582 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.914e-05/0.2246, allocations: 0 / 0.721 GB, free: 7.582 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.793e-05/0.2246, allocations: 7.312 kB / 0.721 GB, free: 7.578 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.2246, allocations: 4 kB / 0.721 GB, free: 7.574 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2246, allocations: 0 / 0.721 GB, free: 7.574 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.2246, allocations: 3.938 kB / 0.721 GB, free: 7.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.2248, allocations: 132.6 kB / 0.7212 GB, free: 7.398 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2248, allocations: 0 / 0.7212 GB, free: 7.398 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.3e-05/0.2249, allocations: 12.23 kB / 0.7212 GB, free: 7.387 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2249, allocations: 4 kB / 0.7212 GB, free: 7.383 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.2249, allocations: 4 kB / 0.7212 GB, free: 7.379 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2249, allocations: 0 / 0.7212 GB, free: 7.379 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2249, allocations: 0 / 0.7212 GB, free: 7.379 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.2251, allocations: 167.4 kB / 0.7213 GB, free: 7.199 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.326e-06/0.2251, allocations: 4 kB / 0.7213 GB, free: 7.195 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.2252, allocations: 0 / 0.7213 GB, free: 7.195 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-05/0.2252, allocations: 7.984 kB / 0.7214 GB, free: 7.188 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.187e-05/0.2253, allocations: 4.031 kB / 0.7214 GB, free: 7.184 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.2253, allocations: 0 / 0.7214 GB, free: 7.184 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.074e-05/0.2253, allocations: 83.28 kB / 0.7214 GB, free: 7.102 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.2253, allocations: 0 / 0.7214 GB, free: 7.102 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001987/0.2255, allocations: 4 kB / 0.7214 GB, free: 7.098 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 (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.0008042/0.2263, allocations: 0.7006 MB / 0.7221 GB, free: 6.367 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002093/0.2265, allocations: 36 kB / 0.7222 GB, free: 6.332 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2265, allocations: 4 kB / 0.7222 GB, free: 6.328 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.314e-05/0.2266, allocations: 15.98 kB / 0.7222 GB, free: 6.312 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.2269, allocations: 15.91 kB / 0.7222 GB, free: 6.297 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004498/0.2274, allocations: 141.4 kB / 0.7223 GB, free: 6.121 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.212e-05/0.2274, allocations: 63.28 kB / 0.7224 GB, free: 6.039 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.366e-05/0.2275, allocations: 4.125 kB / 0.7224 GB, free: 6.035 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.216e-05/0.2275, allocations: 16.5 kB / 0.7224 GB, free: 6.016 MB / 0.6198 GB Notification: Performance of SimCode: time 5.11e-07/0.2275, allocations: 0 / 0.7224 GB, free: 6.016 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02777/0.2553, allocations: 1.939 MB / 0.7243 GB, free: 4.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.53, allocations: 7.938 kB / 0.7243 GB, free: 4.172 MB / 0.6198 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_AddParameter_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_AddParameter.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.540376703997026] Failed to read output from testmodel.py, exit status != 0: 11.63196544299717 11.650535984 11.425821458 Calling exit ...