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.0008661/0.0008661, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.000868/0.000868, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8959/0.8959, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.7166/0.7166, allocations: 154.6 MB / 413.7 MB, free: 0.8398 MB / 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: Performance of FrontEnd - loaded program: time 6.613e-06/6.613e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.22e-05/2.881e-05, allocations: 3.531 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.001454/0.001483, allocations: 0.6541 MB / 0.6188 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.002526, allocations: 0.812 MB / 0.6195 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.392e-05/0.00256, allocations: 0 / 0.6195 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.581e-05/0.002586, allocations: 1.594 kB / 0.6195 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.562e-05/0.002641, allocations: 3.938 kB / 0.6195 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 5.737e-05/0.002699, allocations: 11.98 kB / 0.6196 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.747e-05/0.002766, allocations: 31.84 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.546e-05/0.002862, allocations: 8 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.029e-05/0.002952, allocations: 15.98 kB / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.275e-05/0.002985, allocations: 3.984 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.003006, allocations: 4 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.288e-06/0.00301, allocations: 0 / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/0.003027, allocations: 11.94 kB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.927e-05/0.003046, allocations: 0 / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.838e-05/0.003125, allocations: 27.89 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.003127, allocations: 0 / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.523e-06/0.003128, allocations: 0 / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.003133, allocations: 4 kB / 0.6197 GB, free: 12.05 MB / 0.5886 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.0003323/0.003465, allocations: 262.3 kB / 0.6199 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.003506, allocations: 13.47 kB / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.855e-05/0.003535, allocations: 30.75 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.816e-05/0.003553, allocations: 0.9375 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.625e-05/0.003629, allocations: 113.8 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.003639, allocations: 4.312 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.003646, allocations: 384 / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.003773, allocations: 58.16 kB / 0.6201 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.003781, allocations: 192 / 0.6201 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.003789, allocations: 4.375 kB / 0.6201 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.003796, allocations: 8.125 kB / 0.6201 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.258e-05/0.003888, allocations: 31.95 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002684/0.004157, allocations: 216 kB / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.811e-05/0.004235, allocations: 38.55 kB / 0.6204 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.164e-05/0.004286, allocations: 28.84 kB / 0.6204 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/0.004296, allocations: 4 kB / 0.6204 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.004315, allocations: 34.5 kB / 0.6205 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.004316, allocations: 0 / 0.6205 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002086/0.004524, allocations: 81.64 kB / 0.6206 GB, free: 11 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.004557, allocations: 51.41 kB / 0.6206 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.536e-05/0.004613, allocations: 101.8 kB / 0.6207 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.004625, allocations: 29.7 kB / 0.6207 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.306e-05/0.004658, allocations: 80.27 kB / 0.6208 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.574e-05/0.004674, allocations: 11.89 kB / 0.6208 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.33e-05/0.004697, allocations: 21.66 kB / 0.6208 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.872e-05/0.004776, allocations: 310.8 kB / 0.6211 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.752e-05/0.004823, allocations: 23.91 kB / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.483e-05/0.004858, allocations: 15.98 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.493e-05/0.004933, allocations: 36.83 kB / 0.6212 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.004935, allocations: 4.062 kB / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.876e-05/0.005033, allocations: 69.59 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.005048, allocations: 4 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.005052, allocations: 0 / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.005063, allocations: 0 / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.299e-05/0.005126, allocations: 11.98 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.005131, allocations: 0 / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.165e-05/0.005152, allocations: 8 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-06/0.005156, allocations: 4.031 kB / 0.6213 GB, free: 10.17 MB / 0.5886 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 5.042e-05/0.005206, allocations: 118.8 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.005219, allocations: 7.891 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.674e-05/0.005235, allocations: 7.25 kB / 0.6214 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.005237, allocations: 0 / 0.6214 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.00524, allocations: 256 / 0.6214 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.005243, allocations: 0 / 0.6214 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.649e-05/0.005339, allocations: 132.8 kB / 0.6216 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.00534, allocations: 0 / 0.6216 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.13e-05/0.005361, allocations: 7.984 kB / 0.6216 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.005363, allocations: 7.938 kB / 0.6216 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.00537, allocations: 8 kB / 0.6216 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.9e-07/0.005371, allocations: 0 / 0.6216 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.005372, allocations: 0 / 0.6216 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.005498, allocations: 155.5 kB / 0.6217 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.56e-06/0.005503, allocations: 3.938 kB / 0.6217 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.005515, allocations: 4 kB / 0.6217 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.321e-05/0.005548, allocations: 0 / 0.6217 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.187e-05/0.00558, allocations: 19.95 kB / 0.6218 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-06/0.005582, allocations: 0 / 0.6218 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.579e-05/0.005608, allocations: 79.28 kB / 0.6218 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005608, allocations: 0 / 0.6218 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001414/0.005749, allocations: 4 kB / 0.6218 GB, free: 9.555 MB / 0.5886 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.0002952/0.006044, allocations: 0.6929 MB / 0.6225 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001187/0.006163, allocations: 43.92 kB / 0.6226 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.006164, allocations: 0 / 0.6226 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.946e-05/0.006204, allocations: 19.98 kB / 0.6226 GB, free: 8.773 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.006414, allocations: 10.12 kB / 0.6226 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003061/0.00672, allocations: 130.6 kB / 0.6227 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.822e-05/0.006758, allocations: 55.36 kB / 0.6228 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.962e-05/0.006778, allocations: 12.11 kB / 0.6228 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.34e-05/0.006811, allocations: 12.5 kB / 0.6228 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of SimCode: time 4.81e-07/0.006812, allocations: 0 / 0.6228 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01572/0.02253, allocations: 1.963 MB / 0.6247 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.656/6.678, allocations: 0 / 0.6247 GB, free: 6.68 MB / 0.5886 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.36470870859921] Failed to read output from testmodel.py, exit status != 0: 6.759224612265825 6.773062246 6.767964983 Calling exit ...