Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.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.0008539/0.0008539, allocations: 84.45 kB / 19.15 MB, free: 0.7695 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.0008796/0.0008796, 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.8725/0.8725, allocations: 177.2 MB / 202.8 MB, free: 5.758 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.7173/0.7173, allocations: 155 MB / 414.2 MB, free: 468 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.Sources.Validation.Pulse,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",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.0011/0.0011, allocations: 71.89 kB / 0.6187 GB, free: 13.14 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.4853/0.4864, allocations: 102 MB / 0.7183 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.00151/0.4879, allocations: 0.7035 MB / 0.719 GB, free: 22.67 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.489, allocations: 1.159 MB / 0.7201 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.504e-05/0.489, allocations: 0 / 0.7201 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.002e-05/0.4891, allocations: 5.312 kB / 0.7201 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.483e-05/0.4891, allocations: 14.8 kB / 0.7201 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004272/0.4896, allocations: 131.8 kB / 0.7203 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.4897, allocations: 126.4 kB / 0.7204 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.4898, allocations: 14.14 kB / 0.7204 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.4899, allocations: 64.08 kB / 0.7204 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.346e-05/0.49, allocations: 45.55 kB / 0.7205 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.49, allocations: 13.34 kB / 0.7205 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.916e-05/0.4901, allocations: 24.11 kB / 0.7205 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.385e-05/0.4901, allocations: 11.98 kB / 0.7205 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.538e-05/0.4902, allocations: 36.7 kB / 0.7206 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.4904, allocations: 158 kB / 0.7207 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4904, allocations: 0 / 0.7207 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.205e-06/0.4904, allocations: 0 / 0.7207 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.4904, allocations: 4.969 kB / 0.7207 GB, free: 21.53 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004234/0.4908, allocations: 318.4 kB / 0.721 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.4909, allocations: 11.2 kB / 0.721 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.33e-05/0.4909, allocations: 40.64 kB / 0.7211 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.242e-05/0.491, allocations: 5.5 kB / 0.7211 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.765e-05/0.491, allocations: 122.4 kB / 0.7212 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.4911, allocations: 4.516 kB / 0.7212 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.4911, allocations: 9.031 kB / 0.7212 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.517e-05/0.4912, allocations: 42.33 kB / 0.7213 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.4912, allocations: 7.938 kB / 0.7213 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.4912, allocations: 0.5625 kB / 0.7213 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.4912, allocations: 1.562 kB / 0.7213 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.756e-05/0.4912, allocations: 12.59 kB / 0.7213 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003477/0.4916, allocations: 285.2 kB / 0.7216 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.581e-05/0.4916, allocations: 27.08 kB / 0.7216 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.411e-05/0.4917, allocations: 14.44 kB / 0.7216 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.4917, allocations: 1.531 kB / 0.7216 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/0.4918, allocations: 68.25 kB / 0.7217 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.094e-06/0.4918, allocations: 5.281 kB / 0.7217 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002026/0.492, allocations: 74.92 kB / 0.7217 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.4921, allocations: 53.39 kB / 0.7218 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.781e-05/0.4922, allocations: 125.9 kB / 0.7219 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.4922, allocations: 36.42 kB / 0.7219 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.841e-05/0.4922, allocations: 88.92 kB / 0.722 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.4922, allocations: 11.19 kB / 0.722 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.243e-05/0.4923, allocations: 30.53 kB / 0.7221 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.105e-05/0.4923, allocations: 323 kB / 0.7224 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.638e-05/0.4924, allocations: 65.91 kB / 0.7224 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.208e-05/0.4925, allocations: 90.33 kB / 0.7225 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.707e-05/0.4926, allocations: 96.09 kB / 0.7226 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.4926, allocations: 0 / 0.7226 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000218/0.4928, allocations: 203.9 kB / 0.7228 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.4928, allocations: 34.36 kB / 0.7228 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.4928, allocations: 1.312 kB / 0.7228 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.4928, allocations: 1.156 kB / 0.7228 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.801e-05/0.4929, allocations: 2.844 kB / 0.7228 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.465e-06/0.4929, allocations: 1.922 kB / 0.7228 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.493, allocations: 32.14 kB / 0.7229 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.4931, allocations: 10.16 kB / 0.7229 GB, free: 19.52 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.395e-05/0.4931, allocations: 127 kB / 0.723 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.255e-06/0.4931, allocations: 6.844 kB / 0.723 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.18e-05/0.4931, allocations: 6.938 kB / 0.723 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.4931, allocations: 1.734 kB / 0.723 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4932, allocations: 0 / 0.723 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4932, allocations: 0 / 0.723 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.383e-05/0.4932, allocations: 142.6 kB / 0.7232 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.4932, allocations: 64 / 0.7232 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.281e-05/0.4932, allocations: 6.344 kB / 0.7232 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.4932, allocations: 0.9375 kB / 0.7232 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.4933, allocations: 5.188 kB / 0.7232 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.4933, allocations: 1.219 kB / 0.7232 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4933, allocations: 0.5625 kB / 0.7232 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.184e-05/0.4933, allocations: 97.78 kB / 0.7233 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.214e-05/0.4934, allocations: 7.672 kB / 0.7233 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.4934, allocations: 1.766 kB / 0.7233 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.623e-05/0.4934, allocations: 0 / 0.7233 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.4934, allocations: 8.141 kB / 0.7233 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.4934, allocations: 1.688 kB / 0.7233 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.927e-05/0.4935, allocations: 98.39 kB / 0.7234 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4935, allocations: 0 / 0.7234 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001493/0.4936, allocations: 24.98 kB / 0.7234 GB, free: 19.03 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: 3 ($whenCondition1,$whenCondition2,pulse.booPul.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): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002919/0.4939, allocations: 0.6253 MB / 0.724 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001944/0.4941, allocations: 156.2 kB / 0.7242 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4941, allocations: 0 / 0.7242 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.755e-05/0.4941, allocations: 14.36 kB / 0.7242 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.4943, allocations: 15.58 kB / 0.7242 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.4954, allocations: 1.637 MB / 0.7258 GB, free: 16.83 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.457e-05/0.4955, allocations: 68.44 kB / 0.7259 GB, free: 16.76 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.823e-05/0.4955, allocations: 8.156 kB / 0.7259 GB, free: 16.76 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.457e-05/0.4955, allocations: 21.09 kB / 0.7259 GB, free: 16.74 MB / 0.6355 GB Notification: Performance of SimCode: time 5.91e-07/0.4955, allocations: 0 / 0.7259 GB, free: 16.74 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01717/0.5127, allocations: 3.143 MB / 0.729 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.44/6.953, allocations: 2.031 kB / 0.729 GB, free: 15.75 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.632408587029204] Failed to read output from testmodel.py, exit status != 0: 7.032153407111764 7.038682475 6.546641732 Calling exit ...