Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.001383/0.001383, 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.000999/0.000999, 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.9012/0.9012, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7292/0.7292, allocations: 154.5 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.Reals.Sources.Validation.Constant,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.955e-06/2.955e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.064e-05/2.359e-05, allocations: 6.281 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001369/0.001392, allocations: 0.5894 MB / 0.6187 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 5.192e-05/0.001444, allocations: 0 / 0.6187 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.1e-05/0.001475, allocations: 0 / 0.6187 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.346e-05/0.001509, allocations: 4 kB / 0.6187 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.237e-05/0.001541, allocations: 0 / 0.6187 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 3.602e-05/0.001577, allocations: 0 / 0.6187 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.925e-05/0.001646, allocations: 7.938 kB / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.882e-05/0.001695, allocations: 3.984 kB / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.518e-05/0.00173, allocations: 7.938 kB / 0.6187 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.066e-05/0.001751, allocations: 0 / 0.6187 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.00177, allocations: 0 / 0.6187 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.048e-06/0.001774, allocations: 0 / 0.6187 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.364e-05/0.001788, allocations: 4 kB / 0.6187 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.76e-05/0.001805, allocations: 0 / 0.6187 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 5.512e-05/0.00186, allocations: 4 kB / 0.6187 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.001862, allocations: 0 / 0.6187 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.01e-07/0.001863, allocations: 0 / 0.6187 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.001867, allocations: 0 / 0.6187 GB, free: 13.07 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.0002109/0.002078, allocations: 234.5 kB / 0.6189 GB, free: 12.81 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.002118, allocations: 13.47 kB / 0.6189 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.694e-05/0.002145, allocations: 34.75 kB / 0.619 GB, free: 12.76 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.679e-05/0.002162, allocations: 0.9375 kB / 0.619 GB, free: 12.76 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.797e-05/0.00223, allocations: 101.8 kB / 0.6191 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.956e-06/0.002239, allocations: 384 / 0.6191 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.914e-06/0.002247, allocations: 4.375 kB / 0.6191 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.916e-05/0.002316, allocations: 30.27 kB / 0.6191 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.002322, allocations: 192 / 0.6191 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-06/0.002329, allocations: 384 / 0.6191 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.002334, allocations: 4.125 kB / 0.6191 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.444e-05/0.002349, allocations: 11.92 kB / 0.6191 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002421/0.002591, allocations: 350.6 kB / 0.6194 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.626e-05/0.002647, allocations: 165.1 kB / 0.6196 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.172e-05/0.002669, allocations: 80.14 kB / 0.6197 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.002691, allocations: 83.22 kB / 0.6197 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.002722, allocations: 121.7 kB / 0.6199 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 6.91e-07/0.002722, allocations: 4 kB / 0.6199 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 5.156e-05/0.002774, allocations: 25.7 kB / 0.6199 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.002819, allocations: 130.7 kB / 0.62 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.602e-05/0.002885, allocations: 89.86 kB / 0.6201 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.002894, allocations: 33.64 kB / 0.6201 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.383e-05/0.002917, allocations: 84.14 kB / 0.6202 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.002919, allocations: 0 / 0.6202 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.505e-05/0.002934, allocations: 9.719 kB / 0.6202 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.783e-05/0.003012, allocations: 314.8 kB / 0.6205 GB, free: 11 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.513e-06/0.003018, allocations: 128 / 0.6205 GB, free: 11 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.739e-06/0.003023, allocations: 11.94 kB / 0.6205 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.181e-05/0.003045, allocations: 75.28 kB / 0.6206 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.8e-05/0.003063, allocations: 75.28 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.447e-05/0.003097, allocations: 33.64 kB / 0.6207 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.003129, allocations: 79.28 kB / 0.6208 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.206e-05/0.003151, allocations: 75.28 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.007e-05/0.003201, allocations: 158.5 kB / 0.621 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.062e-05/0.003222, allocations: 75.28 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.305e-05/0.003265, allocations: 158.5 kB / 0.6212 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.066e-05/0.003315, allocations: 79.27 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.003335, allocations: 83.28 kB / 0.6214 GB, free: 10.1 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 9.45e-05/0.003429, allocations: 265.3 kB / 0.6216 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.76e-05/0.003477, allocations: 112.9 kB / 0.6217 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.676e-05/0.003523, allocations: 116.2 kB / 0.6219 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001701/0.003693, allocations: 184.4 kB / 0.622 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.504e-05/0.003749, allocations: 180.3 kB / 0.6222 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.106e-05/0.0038, allocations: 180.3 kB / 0.6224 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.003972, allocations: 376.2 kB / 0.6227 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-05/0.004004, allocations: 105 kB / 0.6228 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.27e-05/0.004037, allocations: 104.9 kB / 0.6229 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.469e-05/0.004092, allocations: 188.2 kB / 0.6231 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.937e-05/0.004151, allocations: 184.2 kB / 0.6233 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.068e-05/0.004202, allocations: 176.3 kB / 0.6235 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.529e-05/0.004257, allocations: 184.2 kB / 0.6236 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.004386, allocations: 303.8 kB / 0.6239 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.098e-05/0.004437, allocations: 112.8 kB / 0.624 GB, free: 7.211 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.83e-05/0.004505, allocations: 184.2 kB / 0.6242 GB, free: 7.023 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.129e-05/0.004556, allocations: 105 kB / 0.6243 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.754e-05/0.004614, allocations: 184.2 kB / 0.6245 GB, free: 6.727 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.124e-05/0.004645, allocations: 105 kB / 0.6246 GB, free: 6.617 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.211e-05/0.004687, allocations: 79.28 kB / 0.6247 GB, free: 6.539 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.004687, allocations: 0 / 0.6247 GB, free: 6.539 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001653/0.004852, allocations: 0 / 0.6247 GB, free: 6.539 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.0003026/0.005155, allocations: 0.8087 MB / 0.6255 GB, free: 5.703 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 4.542e-05/0.0052, allocations: 0 / 0.6255 GB, free: 5.703 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.005203, allocations: 4 kB / 0.6255 GB, free: 5.699 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.61e-07/0.005204, allocations: 3.938 kB / 0.6255 GB, free: 5.695 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.005487, allocations: 453.9 kB / 0.6259 GB, free: 5.25 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007235/0.006211, allocations: 1.54 MB / 0.6274 GB, free: 3.633 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.196e-05/0.006243, allocations: 55.34 kB / 0.6274 GB, free: 3.559 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.101e-06/0.006249, allocations: 0 / 0.6274 GB, free: 3.559 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.344e-05/0.006272, allocations: 8.5 kB / 0.6275 GB, free: 3.551 MB / 0.5886 GB Notification: Performance of SimCode: time 3.41e-07/0.006273, allocations: 4 kB / 0.6275 GB, free: 3.547 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01377/0.02004, allocations: 1.535 MB / 0.629 GB, free: 2.141 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.856/6.876, allocations: 13.66 kB / 0.629 GB, free: 2.133 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Constant.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.547789126634598] Failed to read output from testmodel.py, exit status != 0: 6.963400307111442 6.974671806 6.970883765 Calling exit ...