Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008346/0.0008346, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0008826/0.0008826, allocations: 209.2 kB / 22.24 MB, free: 3.59 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 1.094/1.094, allocations: 230.6 MB / 256 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8186/0.8186, allocations: 203.5 MB / 0.5039 GB, free: 10.68 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_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_IDEAS_Controls_OBC_CDL_Integers_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.001376/0.001376, allocations: 74.62 kB / 0.7178 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6392/0.6406, allocations: 102 MB / 0.8174 GB, free: 1.219 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.00211/0.6427, allocations: 0.5371 MB / 0.8179 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 6.039e-05/0.6427, allocations: 0 / 0.8179 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.877e-05/0.6428, allocations: 3.906 kB / 0.8179 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.919e-05/0.6428, allocations: 4 kB / 0.8179 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.927e-05/0.6429, allocations: 0 / 0.8179 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.403e-05/0.6429, allocations: 3.938 kB / 0.8179 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.778e-05/0.643, allocations: 4.562 kB / 0.8179 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.275e-05/0.6431, allocations: 5.828 kB / 0.8179 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.309e-05/0.6431, allocations: 3.984 kB / 0.8179 GB, free: 0.875 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.938e-05/0.6431, allocations: 3.938 kB / 0.8179 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.6431, allocations: 0 / 0.8179 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.061e-06/0.6432, allocations: 0 / 0.8179 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.292e-05/0.6432, allocations: 0 / 0.8179 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.95e-05/0.6432, allocations: 4.359 kB / 0.8179 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.665e-05/0.6433, allocations: 5.688 kB / 0.8179 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.6433, allocations: 0 / 0.8179 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.506e-06/0.6433, allocations: 0 / 0.8179 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.428e-06/0.6433, allocations: 0 / 0.8179 GB, free: 0.8672 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.0003132/0.6436, allocations: 244.6 kB / 0.8182 GB, free: 0.6055 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.623e-05/0.6437, allocations: 9.281 kB / 0.8182 GB, free: 0.6055 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.324e-05/0.6437, allocations: 30.75 kB / 0.8182 GB, free: 0.5664 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.89e-05/0.6438, allocations: 0.9375 kB / 0.8182 GB, free: 0.5664 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.94e-05/0.6438, allocations: 107.2 kB / 0.8183 GB, free: 452 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.6439, allocations: 1.172 kB / 0.8183 GB, free: 452 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.6439, allocations: 4.375 kB / 0.8183 GB, free: 448 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.644, allocations: 32.86 kB / 0.8184 GB, free: 412 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.644, allocations: 5.156 kB / 0.8184 GB, free: 408 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.644, allocations: 0 / 0.8184 GB, free: 408 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.644, allocations: 0 / 0.8184 GB, free: 408 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.383e-05/0.644, allocations: 7.562 kB / 0.8184 GB, free: 404 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002937/0.6443, allocations: 348.7 kB / 0.8187 GB, free: 16 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.6444, allocations: 178.2 kB / 0.8189 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.048e-05/0.6445, allocations: 80.14 kB / 0.819 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.6445, allocations: 77.77 kB / 0.819 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.453e-05/0.6445, allocations: 110.9 kB / 0.8191 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.824e-06/0.6445, allocations: 0 / 0.8191 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 8.298e-05/0.6446, allocations: 28.12 kB / 0.8192 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.6447, allocations: 127.4 kB / 0.8193 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.6448, allocations: 104.6 kB / 0.8194 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.6448, allocations: 25.7 kB / 0.8194 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.761e-05/0.6448, allocations: 80.14 kB / 0.8195 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-06/0.6448, allocations: 0 / 0.8195 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.993e-05/0.6448, allocations: 17.34 kB / 0.8195 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.489e-05/0.6449, allocations: 311.6 kB / 0.8198 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.008e-05/0.645, allocations: 4.125 kB / 0.8198 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.335e-06/0.645, allocations: 0 / 0.8198 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.271e-05/0.645, allocations: 76.41 kB / 0.8199 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-05/0.645, allocations: 79.22 kB / 0.8199 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.871e-05/0.6451, allocations: 33.89 kB / 0.82 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.606e-05/0.6451, allocations: 80.25 kB / 0.8201 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-05/0.6452, allocations: 87 kB / 0.8201 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.135e-05/0.6452, allocations: 152.8 kB / 0.8203 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.376e-05/0.6452, allocations: 77.59 kB / 0.8204 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-05/0.6453, allocations: 160.5 kB / 0.8205 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.404e-05/0.6453, allocations: 76.81 kB / 0.8206 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.6454, allocations: 83.78 kB / 0.8207 GB, free: 13.95 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.0001163/0.6455, allocations: 268.2 kB / 0.8209 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004623/0.6459, allocations: 108.6 kB / 0.821 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.108e-05/0.646, allocations: 109 kB / 0.8211 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.368e-05/0.6461, allocations: 183.2 kB / 0.8213 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.213e-05/0.6461, allocations: 177 kB / 0.8215 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.698e-05/0.6462, allocations: 183.1 kB / 0.8216 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.6464, allocations: 376.2 kB / 0.822 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.572e-05/0.6464, allocations: 108.1 kB / 0.8221 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-05/0.6465, allocations: 105.5 kB / 0.8222 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-05/0.6466, allocations: 187.8 kB / 0.8224 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.356e-05/0.6466, allocations: 184.9 kB / 0.8226 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.216e-05/0.6467, allocations: 183.2 kB / 0.8227 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.001e-05/0.6467, allocations: 181.7 kB / 0.8229 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.6469, allocations: 305 kB / 0.8232 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.263e-05/0.647, allocations: 109.7 kB / 0.8233 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.322e-05/0.647, allocations: 178.6 kB / 0.8235 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.632e-05/0.6471, allocations: 112.3 kB / 0.8236 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.331e-05/0.6472, allocations: 179.8 kB / 0.8238 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.609e-05/0.6472, allocations: 101.5 kB / 0.8239 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.131e-05/0.6473, allocations: 86.2 kB / 0.8239 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.6473, allocations: 0 / 0.8239 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001679/0.6474, allocations: 0.6562 kB / 0.8239 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.0003541/0.6478, allocations: 0.8129 MB / 0.8247 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.019e-05/0.6478, allocations: 4.703 kB / 0.8247 GB, free: 9.629 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.6479, allocations: 0 / 0.8247 GB, free: 9.629 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.6479, allocations: 0.5312 kB / 0.8247 GB, free: 9.629 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.6481, allocations: 459.8 kB / 0.8252 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008461/0.649, allocations: 1.537 MB / 0.8267 GB, free: 7.598 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.857e-05/0.649, allocations: 54.38 kB / 0.8267 GB, free: 7.527 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.277e-05/0.649, allocations: 0.75 kB / 0.8267 GB, free: 7.527 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.223e-05/0.6491, allocations: 7.438 kB / 0.8267 GB, free: 7.52 MB / 0.6198 GB Notification: Performance of SimCode: time 1.312e-06/0.6491, allocations: 0 / 0.8267 GB, free: 7.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02239/0.6715, allocations: 1.407 MB / 0.8281 GB, free: 6.707 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.943/7.615, allocations: 12.58 kB / 0.8281 GB, free: 6.703 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.82796562416479] Failed to read output from testmodel.py, exit status != 0: 7.696082315873355 7.711465217 7.065364846 Calling exit ...