Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.00132/0.00132, 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.001032/0.001032, allocations: 169.9 kB / 22.45 MB, free: 2.109 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.9288/0.9288, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.7183/0.7183, allocations: 154.6 MB / 413.7 MB, free: 0.832 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.Integers.Sources.Validation.Constant,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.336e-06/3.336e-06, allocations: 0 / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.601e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001244/0.00127, allocations: 0.5289 MB / 0.6186 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 3.88e-05/0.001309, allocations: 0 / 0.6186 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.428e-05/0.001333, allocations: 11.94 kB / 0.6186 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.65e-05/0.00136, allocations: 0 / 0.6186 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.303e-05/0.001383, allocations: 0 / 0.6186 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 2.67e-05/0.001409, allocations: 0 / 0.6186 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.055e-05/0.00146, allocations: 0 / 0.6186 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.419e-05/0.001504, allocations: 0 / 0.6186 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.754e-05/0.001532, allocations: 7.984 kB / 0.6186 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 1.678e-05/0.001549, allocations: 3.938 kB / 0.6186 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.001565, allocations: 0 / 0.6186 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 2.886e-06/0.001568, allocations: 0 / 0.6186 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.145e-05/0.001579, allocations: 0 / 0.6186 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.615e-05/0.001596, allocations: 8 kB / 0.6186 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 5.399e-05/0.00165, allocations: 7.984 kB / 0.6186 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.001652, allocations: 0 / 0.6186 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.32e-07/0.001652, allocations: 0 / 0.6186 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.001656, allocations: 0 / 0.6186 GB, free: 13.17 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002192/0.001875, allocations: 234.4 kB / 0.6188 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.001914, allocations: 13.45 kB / 0.6188 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.522e-05/0.001939, allocations: 30.75 kB / 0.6189 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.603e-05/0.001955, allocations: 0.9375 kB / 0.6189 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.00216, allocations: 113.8 kB / 0.619 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.002169, allocations: 384 / 0.619 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.793e-06/0.002176, allocations: 8.312 kB / 0.619 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.126e-05/0.002247, allocations: 30.27 kB / 0.619 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.002254, allocations: 192 / 0.619 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.00226, allocations: 384 / 0.619 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.002265, allocations: 4.125 kB / 0.619 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.327e-05/0.002278, allocations: 0 / 0.619 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002387/0.002517, allocations: 350.6 kB / 0.6194 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.671e-05/0.002574, allocations: 173.1 kB / 0.6195 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.169e-05/0.002596, allocations: 80.14 kB / 0.6196 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.002613, allocations: 75.28 kB / 0.6197 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.002644, allocations: 121.8 kB / 0.6198 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.002645, allocations: 0 / 0.6198 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 4.809e-05/0.002693, allocations: 29.64 kB / 0.6198 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.002736, allocations: 130.6 kB / 0.6199 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.978e-05/0.002796, allocations: 97.84 kB / 0.62 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.763e-06/0.002803, allocations: 29.64 kB / 0.6201 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.932e-05/0.002822, allocations: 80.14 kB / 0.6201 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-06/0.002824, allocations: 0 / 0.6201 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.546e-05/0.002839, allocations: 13.72 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.759e-05/0.002907, allocations: 314.8 kB / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.41e-06/0.002912, allocations: 4.125 kB / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.026e-06/0.002915, allocations: 0 / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.775e-05/0.002933, allocations: 75.28 kB / 0.6205 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.568e-05/0.002949, allocations: 79.28 kB / 0.6206 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.251e-05/0.002981, allocations: 33.62 kB / 0.6206 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.003006, allocations: 79.28 kB / 0.6207 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.003023, allocations: 83.22 kB / 0.6208 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.756e-05/0.00306, allocations: 150.6 kB / 0.6209 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.801e-05/0.003078, allocations: 79.22 kB / 0.621 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.723e-05/0.003116, allocations: 158.6 kB / 0.6212 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.062e-05/0.003156, allocations: 75.28 kB / 0.6212 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.003172, allocations: 83.22 kB / 0.6213 GB, free: 10.2 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 (0): * Single equations (assignments): 0 * 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 7.679e-05/0.003249, allocations: 265.4 kB / 0.6216 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/0.003284, allocations: 108.9 kB / 0.6217 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.824e-05/0.003322, allocations: 116.1 kB / 0.6218 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.929e-05/0.003361, allocations: 180.5 kB / 0.622 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.805e-05/0.003399, allocations: 176.3 kB / 0.6221 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.005e-05/0.003439, allocations: 192.2 kB / 0.6223 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.003575, allocations: 364.3 kB / 0.6227 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.622e-05/0.003601, allocations: 112.9 kB / 0.6228 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.083e-05/0.003622, allocations: 101 kB / 0.6229 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.902e-05/0.003661, allocations: 188.2 kB / 0.623 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.111e-05/0.003702, allocations: 188.2 kB / 0.6232 GB, free: 8.117 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.608e-05/0.003738, allocations: 176.3 kB / 0.6234 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.91e-05/0.003778, allocations: 180.2 kB / 0.6236 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.024e-05/0.003868, allocations: 307.8 kB / 0.6238 GB, free: 7.43 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.003902, allocations: 108.9 kB / 0.624 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.821e-05/0.003951, allocations: 176.3 kB / 0.6241 GB, free: 7.137 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.79e-05/0.003998, allocations: 116.9 kB / 0.6242 GB, free: 7.016 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.004043, allocations: 180.2 kB / 0.6244 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.042e-05/0.004074, allocations: 108.9 kB / 0.6245 GB, free: 6.719 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.056e-05/0.004104, allocations: 83.28 kB / 0.6246 GB, free: 6.637 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.004104, allocations: 0 / 0.6246 GB, free: 6.637 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001557/0.00426, allocations: 0 / 0.6246 GB, free: 6.637 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 (0): * Single equations (assignments): 0 * 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.0002504/0.00451, allocations: 0.8009 MB / 0.6254 GB, free: 5.809 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 3.281e-05/0.004543, allocations: 4 kB / 0.6254 GB, free: 5.805 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.004545, allocations: 0 / 0.6254 GB, free: 5.805 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.004546, allocations: 7.875 kB / 0.6254 GB, free: 5.797 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.004779, allocations: 455.7 kB / 0.6258 GB, free: 5.348 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008047/0.005584, allocations: 1.525 MB / 0.6273 GB, free: 3.742 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.511e-05/0.005619, allocations: 55.36 kB / 0.6274 GB, free: 3.668 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.274e-06/0.005626, allocations: 0 / 0.6274 GB, free: 3.668 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/0.00565, allocations: 8.5 kB / 0.6274 GB, free: 3.656 MB / 0.5886 GB Notification: Performance of SimCode: time 6.51e-07/0.00565, allocations: 0 / 0.6274 GB, free: 3.656 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01453/0.02018, allocations: 1.549 MB / 0.6289 GB, free: 2.246 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.926/6.946, allocations: 14.5 kB / 0.6289 GB, free: 2.238 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.633375944569707] Failed to read output from testmodel.py, exit status != 0: 7.026607790961862 7.038734532 7.034415703 Calling exit ...