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.0007967/0.0007967, 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.0008954/0.0008954, 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.892/0.892, allocations: 177.2 MB / 202.8 MB, free: 5.781 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.714/0.714, allocations: 154.9 MB / 414.2 MB, free: 480 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.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: 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.0009711/0.0009711, allocations: 63.5 kB / 0.6187 GB, free: 13.12 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.4508/0.4517, allocations: 102 MB / 0.7183 GB, free: 23.1 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001471/0.4532, allocations: 0.5781 MB / 0.7189 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 4.4e-05/0.4532, allocations: 4 kB / 0.7189 GB, free: 22.74 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.029e-05/0.4533, allocations: 1.219 kB / 0.7189 GB, free: 22.74 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.992e-05/0.4533, allocations: 0.6562 kB / 0.7189 GB, free: 22.74 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 3.024e-05/0.4533, allocations: 3.938 kB / 0.7189 GB, free: 22.74 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 3.191e-05/0.4534, allocations: 4 kB / 0.7189 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 5.933e-05/0.4534, allocations: 2.969 kB / 0.7189 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 6.105e-05/0.4535, allocations: 1.984 kB / 0.7189 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 3.648e-05/0.4535, allocations: 4.594 kB / 0.7189 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 2.16e-05/0.4535, allocations: 1.062 kB / 0.7189 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.4536, allocations: 0 / 0.7189 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.388e-06/0.4536, allocations: 1.156 kB / 0.7189 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.4536, allocations: 3.984 kB / 0.7189 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.875e-05/0.4536, allocations: 0 / 0.7189 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 6.689e-05/0.4537, allocations: 6.609 kB / 0.7189 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.4537, allocations: 1.766 kB / 0.7189 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.534e-06/0.4537, allocations: 4 kB / 0.7189 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.4537, allocations: 0 / 0.7189 GB, free: 22.72 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.00028/0.454, allocations: 240.8 kB / 0.7191 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.454, allocations: 14.88 kB / 0.7191 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.423e-05/0.454, allocations: 31.64 kB / 0.7192 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.054e-05/0.4541, allocations: 2.094 kB / 0.7192 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.305e-05/0.4541, allocations: 104.7 kB / 0.7193 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.4541, allocations: 4.375 kB / 0.7193 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.4541, allocations: 1.531 kB / 0.7193 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.67e-05/0.4542, allocations: 32.27 kB / 0.7193 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.4542, allocations: 9.125 kB / 0.7193 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.4542, allocations: 4 kB / 0.7193 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.4542, allocations: 0 / 0.7193 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.553e-05/0.4543, allocations: 1.594 kB / 0.7193 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002318/0.4545, allocations: 351.1 kB / 0.7197 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.437e-05/0.4545, allocations: 174.3 kB / 0.7198 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.459e-05/0.4545, allocations: 82.28 kB / 0.7199 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.4546, allocations: 75.28 kB / 0.72 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.4546, allocations: 108 kB / 0.7201 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 2.054e-06/0.4546, allocations: 0 / 0.7201 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 5.531e-05/0.4546, allocations: 36.03 kB / 0.7201 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.4547, allocations: 128.4 kB / 0.7202 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.999e-05/0.4547, allocations: 98.34 kB / 0.7203 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.849e-06/0.4547, allocations: 25.7 kB / 0.7204 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.046e-05/0.4547, allocations: 80.14 kB / 0.7204 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.4547, allocations: 5.625 kB / 0.7204 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.416e-05/0.4548, allocations: 11.66 kB / 0.7204 GB, free: 21 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.216e-05/0.4548, allocations: 319.5 kB / 0.7207 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.919e-06/0.4548, allocations: 1.156 kB / 0.7207 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.809e-06/0.4548, allocations: 0 / 0.7207 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.144e-05/0.4548, allocations: 77.19 kB / 0.7208 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/0.4548, allocations: 83.22 kB / 0.7209 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.247e-05/0.4548, allocations: 29.41 kB / 0.7209 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.4549, allocations: 80.22 kB / 0.721 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.4549, allocations: 81.03 kB / 0.7211 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.4549, allocations: 153.9 kB / 0.7212 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.322e-06/0.4549, allocations: 75.28 kB / 0.7213 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/0.4549, allocations: 157.6 kB / 0.7215 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.446e-05/0.455, allocations: 80.44 kB / 0.7215 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.455, allocations: 85.06 kB / 0.7216 GB, free: 19.81 MB / 0.6355 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 5.104e-05/0.455, allocations: 268.3 kB / 0.7219 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.046e-05/0.455, allocations: 103.3 kB / 0.722 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.21e-05/0.4551, allocations: 114.6 kB / 0.7221 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.789e-05/0.4551, allocations: 183.5 kB / 0.7222 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-05/0.4551, allocations: 178.2 kB / 0.7224 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.705e-05/0.4551, allocations: 182.4 kB / 0.7226 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.749e-05/0.4552, allocations: 372.8 kB / 0.7229 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.4552, allocations: 107.2 kB / 0.7231 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.039e-05/0.4552, allocations: 106.8 kB / 0.7232 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.759e-05/0.4552, allocations: 183.3 kB / 0.7233 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.4553, allocations: 181.3 kB / 0.7235 GB, free: 17.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-05/0.4553, allocations: 182.4 kB / 0.7237 GB, free: 17.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.71e-05/0.4553, allocations: 182 kB / 0.7238 GB, free: 17.41 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.086e-05/0.4554, allocations: 307.3 kB / 0.7241 GB, free: 17.09 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.986e-05/0.4554, allocations: 119.8 kB / 0.7243 GB, free: 16.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.4554, allocations: 179.6 kB / 0.7244 GB, free: 16.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.356e-05/0.4554, allocations: 114.4 kB / 0.7245 GB, free: 16.68 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.402e-05/0.4555, allocations: 183 kB / 0.7247 GB, free: 16.49 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.4555, allocations: 102.8 kB / 0.7248 GB, free: 16.39 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.426e-05/0.4555, allocations: 78.28 kB / 0.7249 GB, free: 16.31 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4555, allocations: 3.938 kB / 0.7249 GB, free: 16.31 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001548/0.4556, allocations: 4.094 kB / 0.7249 GB, free: 16.3 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: 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.0001979/0.4558, allocations: 0.8037 MB / 0.7257 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 4.175e-05/0.4559, allocations: 1 kB / 0.7257 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.4559, allocations: 0 / 0.7257 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.234e-06/0.4559, allocations: 9.031 kB / 0.7257 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.4561, allocations: 454.4 kB / 0.7261 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006765/0.4568, allocations: 1.538 MB / 0.7276 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.373e-05/0.4568, allocations: 59.12 kB / 0.7277 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.338e-06/0.4568, allocations: 0.6562 kB / 0.7277 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.512e-05/0.4568, allocations: 9.469 kB / 0.7277 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of SimCode: time 9.32e-07/0.4568, allocations: 0 / 0.7277 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01779/0.4746, allocations: 1.537 MB / 0.7292 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.443/6.918, allocations: 3.594 kB / 0.7292 GB, free: 12.52 MB / 0.6355 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.6115478919819] Failed to read output from testmodel.py, exit status != 0: 6.995485738152638 7.003918419 6.548487441 Calling exit ...