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.001698/0.001698, allocations: 72.45 kB / 19.02 MB, free: 1.113 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.002067/0.002067, allocations: 167.8 kB / 22.29 MB, free: 3.516 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.411/1.411, allocations: 177.2 MB / 202.7 MB, free: 4.809 MB / 186.7 MB " [Timeout remaining time 178] 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 1.199/1.199, allocations: 154.7 MB / 413.8 MB, free: 3.133 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 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.001998/0.001998, allocations: 68.61 kB / 0.6181 GB, free: 1.117 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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.2025/0.2045, allocations: 102 MB / 0.7176 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001659/0.2062, allocations: 0.5338 MB / 0.7182 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 3.303e-05/0.2062, allocations: 0 / 0.7182 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.414e-05/0.2062, allocations: 0 / 0.7182 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.237e-05/0.2062, allocations: 0 / 0.7182 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.393e-05/0.2063, allocations: 7.875 kB / 0.7182 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 2.932e-05/0.2063, allocations: 0 / 0.7182 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.922e-05/0.2064, allocations: 8 kB / 0.7182 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.251e-05/0.2064, allocations: 4 kB / 0.7182 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.653e-05/0.2064, allocations: 3.984 kB / 0.7182 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 1.548e-05/0.2064, allocations: 0 / 0.7182 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.2065, allocations: 4 kB / 0.7182 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.096e-06/0.2065, allocations: 0 / 0.7182 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.839e-06/0.2065, allocations: 0 / 0.7182 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.456e-05/0.2065, allocations: 0 / 0.7182 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.985e-05/0.2065, allocations: 7.922 kB / 0.7182 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.2065, allocations: 0 / 0.7182 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2065, allocations: 0 / 0.7182 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.2066, allocations: 0 / 0.7182 GB, free: 10.7 MB / 0.6198 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.0005031/0.2071, allocations: 246.7 kB / 0.7184 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.2071, allocations: 12.03 kB / 0.7184 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.396e-05/0.2071, allocations: 30.75 kB / 0.7185 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.124e-05/0.2072, allocations: 8.922 kB / 0.7185 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.2073, allocations: 102.5 kB / 0.7186 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.2073, allocations: 4.375 kB / 0.7186 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.719e-06/0.2073, allocations: 384 / 0.7186 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.78e-05/0.2074, allocations: 30.2 kB / 0.7186 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.2074, allocations: 3.938 kB / 0.7186 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.2074, allocations: 4 kB / 0.7186 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.2074, allocations: 8 kB / 0.7186 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.632e-05/0.2074, allocations: 3.984 kB / 0.7186 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003236/0.2077, allocations: 351 kB / 0.719 GB, free: 9.793 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.2078, allocations: 177 kB / 0.7191 GB, free: 9.609 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.516e-05/0.2079, allocations: 84.17 kB / 0.7192 GB, free: 9.523 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.543e-05/0.2079, allocations: 75.28 kB / 0.7193 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.436e-05/0.208, allocations: 105.8 kB / 0.7194 GB, free: 9.336 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.208, allocations: 0 / 0.7194 GB, free: 9.336 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.725e-05/0.208, allocations: 29.7 kB / 0.7194 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.168e-05/0.2081, allocations: 126.7 kB / 0.7195 GB, free: 9.164 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.2082, allocations: 105.8 kB / 0.7196 GB, free: 9.051 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.2082, allocations: 29.64 kB / 0.7197 GB, free: 9.016 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.156e-05/0.2083, allocations: 80.14 kB / 0.7197 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-06/0.2083, allocations: 0 / 0.7197 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.076e-05/0.2083, allocations: 13.66 kB / 0.7198 GB, free: 8.914 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.2085, allocations: 314.8 kB / 0.7201 GB, free: 8.598 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.497e-06/0.2085, allocations: 0 / 0.7201 GB, free: 8.598 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.404e-06/0.2085, allocations: 0 / 0.7201 GB, free: 8.598 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.832e-05/0.2085, allocations: 75.28 kB / 0.7201 GB, free: 8.523 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.021e-05/0.2085, allocations: 83.22 kB / 0.7202 GB, free: 8.441 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.142e-05/0.2086, allocations: 29.7 kB / 0.7202 GB, free: 8.406 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.685e-05/0.2086, allocations: 87.34 kB / 0.7203 GB, free: 8.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.1e-05/0.2087, allocations: 83.2 kB / 0.7204 GB, free: 8.238 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.095e-05/0.2088, allocations: 154.6 kB / 0.7206 GB, free: 8.086 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.303e-05/0.2088, allocations: 75.28 kB / 0.7206 GB, free: 8.012 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-05/0.2089, allocations: 154.5 kB / 0.7208 GB, free: 7.859 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.133e-05/0.2089, allocations: 79.28 kB / 0.7208 GB, free: 7.781 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.614e-05/0.209, allocations: 79.22 kB / 0.7209 GB, free: 7.703 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.0001568/0.2091, allocations: 264.3 kB / 0.7212 GB, free: 7.434 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.967e-05/0.2092, allocations: 109 kB / 0.7213 GB, free: 7.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.148e-05/0.2093, allocations: 111.9 kB / 0.7214 GB, free: 7.207 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.064e-05/0.2094, allocations: 184.3 kB / 0.7216 GB, free: 7.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.34e-05/0.2094, allocations: 176.3 kB / 0.7217 GB, free: 6.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.215e-05/0.2095, allocations: 184.7 kB / 0.7219 GB, free: 6.652 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.2098, allocations: 380.2 kB / 0.7223 GB, free: 6.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.439e-05/0.2098, allocations: 104.9 kB / 0.7224 GB, free: 6.121 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.834e-05/0.2099, allocations: 101 kB / 0.7225 GB, free: 6.016 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.413e-05/0.21, allocations: 184.6 kB / 0.7226 GB, free: 5.828 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-05/0.2101, allocations: 184.2 kB / 0.7228 GB, free: 5.641 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-05/0.2102, allocations: 180.3 kB / 0.723 GB, free: 5.457 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.902e-05/0.2103, allocations: 188.2 kB / 0.7232 GB, free: 5.266 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.2104, allocations: 307.8 kB / 0.7235 GB, free: 4.941 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.019e-05/0.2105, allocations: 112.9 kB / 0.7236 GB, free: 4.824 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.297e-05/0.2106, allocations: 176.3 kB / 0.7237 GB, free: 4.645 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.005e-05/0.2107, allocations: 104.9 kB / 0.7238 GB, free: 4.535 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.386e-05/0.2108, allocations: 180.3 kB / 0.724 GB, free: 4.352 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.217e-05/0.2108, allocations: 105 kB / 0.7241 GB, free: 4.242 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.01e-05/0.2109, allocations: 83.28 kB / 0.7242 GB, free: 4.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2109, allocations: 0 / 0.7242 GB, free: 4.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000278/0.2111, allocations: 3.938 kB / 0.7242 GB, free: 4.156 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.0005001/0.2116, allocations: 0.8088 MB / 0.725 GB, free: 3.316 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 4.442e-05/0.2117, allocations: 8 kB / 0.725 GB, free: 3.309 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2117, allocations: 0 / 0.725 GB, free: 3.309 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.156e-06/0.2117, allocations: 3.938 kB / 0.725 GB, free: 3.305 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007005/0.2124, allocations: 459.6 kB / 0.7254 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.2136, allocations: 1.528 MB / 0.7269 GB, free: 1.246 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.712e-05/0.2137, allocations: 55.36 kB / 0.727 GB, free: 1.172 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.903e-06/0.2137, allocations: 3.938 kB / 0.727 GB, free: 1.168 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.693e-05/0.2137, allocations: 8.5 kB / 0.727 GB, free: 1.16 MB / 0.6198 GB Notification: Performance of SimCode: time 3.01e-07/0.2137, allocations: 4.094 kB / 0.727 GB, free: 1.156 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03039/0.2441, allocations: 1.515 MB / 0.7285 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.73, allocations: 14.19 kB / 0.7285 GB, free: 15.73 MB / 0.6355 GB " [Timeout remaining time 648] (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: 15.695351355985622] Failed to read output from testmodel.py, exit status != 0: 11.831708498997614 11.863823928 11.651566037 Calling exit ...