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.000831/0.000831, allocations: 113.9 kB / 18.94 MB, free: 1.27 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.001662/0.001662, allocations: 217.2 kB / 22.26 MB, free: 3.699 MB / 13.93 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.9693/0.9693, allocations: 230.6 MB / 256 MB, free: 9.797 MB / 202.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.8006/0.8006, allocations: 203.8 MB / 0.5042 GB, free: 10.71 MB / 410.7 MB " [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.001099/0.001099, allocations: 67.81 kB / 0.7183 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5469/0.548, allocations: 102 MB / 0.8179 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001429/0.5495, allocations: 0.583 MB / 0.8185 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 3.998e-05/0.5495, allocations: 0 / 0.8185 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.772e-05/0.5495, allocations: 4 kB / 0.8185 GB, free: 0.8945 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.492e-05/0.5495, allocations: 7.875 kB / 0.8185 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.811e-05/0.5496, allocations: 0 / 0.8185 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 2.946e-05/0.5496, allocations: 0 / 0.8185 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.401e-05/0.5497, allocations: 4.594 kB / 0.8185 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.723e-05/0.5497, allocations: 2.562 kB / 0.8185 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.659e-05/0.5497, allocations: 1.75 kB / 0.8185 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.019e-05/0.5497, allocations: 8.828 kB / 0.8185 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.5498, allocations: 0 / 0.8185 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.442e-06/0.5498, allocations: 0 / 0.8185 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.359e-05/0.5498, allocations: 1.938 kB / 0.8185 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.055e-05/0.5498, allocations: 4 kB / 0.8185 GB, free: 0.875 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.195e-05/0.5499, allocations: 1.594 kB / 0.8185 GB, free: 0.875 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.5499, allocations: 1.75 kB / 0.8185 GB, free: 0.875 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5499, allocations: 0 / 0.8185 GB, free: 0.875 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.5499, allocations: 0 / 0.8185 GB, free: 0.875 MB / 0.6042 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.000195/0.5501, allocations: 242.8 kB / 0.8187 GB, free: 0.6133 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.5501, allocations: 11.05 kB / 0.8187 GB, free: 0.6133 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.171e-05/0.5501, allocations: 30.75 kB / 0.8188 GB, free: 0.5742 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.087e-05/0.5501, allocations: 4.016 kB / 0.8188 GB, free: 0.5742 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.702e-05/0.5502, allocations: 103.1 kB / 0.8189 GB, free: 460 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.5502, allocations: 4.375 kB / 0.8189 GB, free: 456 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-06/0.5502, allocations: 6.812 kB / 0.8189 GB, free: 452 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.612e-05/0.5503, allocations: 27.11 kB / 0.8189 GB, free: 420 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.5503, allocations: 7.875 kB / 0.8189 GB, free: 416 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.692e-06/0.5503, allocations: 0 / 0.8189 GB, free: 416 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.5503, allocations: 3.938 kB / 0.8189 GB, free: 412 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.37e-05/0.5503, allocations: 0.7031 kB / 0.8189 GB, free: 412 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001932/0.5505, allocations: 356.4 kB / 0.8193 GB, free: 16 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.865e-05/0.5506, allocations: 179.8 kB / 0.8194 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.468e-05/0.5506, allocations: 80.14 kB / 0.8195 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.5507, allocations: 76.41 kB / 0.8196 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.5507, allocations: 105.8 kB / 0.8197 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.253e-06/0.5507, allocations: 4 kB / 0.8197 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.356e-05/0.5508, allocations: 28.91 kB / 0.8197 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/0.5508, allocations: 130.6 kB / 0.8198 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.714e-05/0.5509, allocations: 99.38 kB / 0.8199 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.551, allocations: 25.7 kB / 0.82 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.827e-05/0.551, allocations: 80.98 kB / 0.82 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-06/0.551, allocations: 0 / 0.82 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.007e-05/0.551, allocations: 16.31 kB / 0.82 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.5511, allocations: 311.5 kB / 0.8203 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.241e-06/0.5511, allocations: 0 / 0.8203 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.46e-06/0.5511, allocations: 0 / 0.8203 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.952e-05/0.5511, allocations: 78.36 kB / 0.8204 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.368e-05/0.5512, allocations: 79.22 kB / 0.8205 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.469e-05/0.5512, allocations: 31.55 kB / 0.8205 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.983e-05/0.5513, allocations: 81.78 kB / 0.8206 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-05/0.5513, allocations: 83.22 kB / 0.8207 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.137e-05/0.5514, allocations: 159.6 kB / 0.8208 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.543e-05/0.5514, allocations: 79.92 kB / 0.8209 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.672e-05/0.5514, allocations: 152.9 kB / 0.8211 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.569e-05/0.5515, allocations: 75.28 kB / 0.8211 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/0.5515, allocations: 83.98 kB / 0.8212 GB, free: 13.96 MB / 0.6198 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 0.0001189/0.5516, allocations: 269 kB / 0.8215 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.72e-05/0.5517, allocations: 105.5 kB / 0.8216 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.109e-05/0.5517, allocations: 115.7 kB / 0.8217 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.833e-05/0.5518, allocations: 177.5 kB / 0.8218 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.707e-05/0.5518, allocations: 176.3 kB / 0.822 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.354e-05/0.5519, allocations: 186.6 kB / 0.8222 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.5521, allocations: 378 kB / 0.8226 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-05/0.5521, allocations: 104.9 kB / 0.8227 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.881e-05/0.5522, allocations: 107.1 kB / 0.8228 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.879e-05/0.5522, allocations: 178.1 kB / 0.8229 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.12e-05/0.5523, allocations: 190.2 kB / 0.8231 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.429e-05/0.5524, allocations: 182.3 kB / 0.8233 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.406e-05/0.5524, allocations: 189 kB / 0.8235 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/0.5525, allocations: 306.6 kB / 0.8238 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.724e-05/0.5526, allocations: 106.8 kB / 0.8239 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.018e-05/0.5526, allocations: 184.2 kB / 0.824 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.284e-05/0.5527, allocations: 113.5 kB / 0.8241 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.682e-05/0.5528, allocations: 178.5 kB / 0.8243 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.12e-05/0.5528, allocations: 105.5 kB / 0.8244 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.043e-05/0.5528, allocations: 78.59 kB / 0.8245 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5528, allocations: 0 / 0.8245 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001681/0.553, allocations: 96 / 0.8245 GB, free: 10.45 MB / 0.6198 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.0003315/0.5533, allocations: 0.8091 MB / 0.8253 GB, free: 9.629 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 3.73e-05/0.5534, allocations: 1.281 kB / 0.8253 GB, free: 9.629 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5534, allocations: 0 / 0.8253 GB, free: 9.629 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.484e-06/0.5534, allocations: 13.47 kB / 0.8253 GB, free: 9.617 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.5536, allocations: 455 kB / 0.8257 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000842/0.5545, allocations: 1.526 MB / 0.8272 GB, free: 7.602 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001871/0.5547, allocations: 0.674 MB / 0.8279 GB, free: 6.902 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.386e-06/0.5547, allocations: 0.7031 kB / 0.8279 GB, free: 6.902 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.185e-05/0.5547, allocations: 11.56 kB / 0.8279 GB, free: 6.895 MB / 0.6198 GB Notification: Performance of SimCode: time 4.61e-07/0.5547, allocations: 0 / 0.8279 GB, free: 6.895 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02014/0.5748, allocations: 1.014 MB / 0.8289 GB, free: 6.504 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.638/7.213, allocations: 11.62 kB / 0.8289 GB, free: 6.496 MB / 0.6198 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: 10.15597040206194] Failed to read output from testmodel.py, exit status != 0: 7.289880087831989 7.302126312 6.75019677 Calling exit ...