Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001346/0.001346, allocations: 72.45 kB / 19.02 MB, free: 1.129 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.001518/0.001518, allocations: 168.2 kB / 22.3 MB, free: 3.523 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.432/1.432, allocations: 177.2 MB / 202.7 MB, free: 4.445 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.239/1.239, allocations: 154.7 MB / 413.8 MB, free: 3.098 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.Reals.Sources.Validation.Constant,fileNamePrefix="IDEAS_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_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.003179/0.003179, allocations: 74.55 kB / 0.6181 GB, free: 0.9453 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.2343/0.2375, allocations: 102 MB / 0.7177 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.002004/0.2395, allocations: 0.5726 MB / 0.7182 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 4.781e-05/0.2395, allocations: 3.938 kB / 0.7182 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.035e-05/0.2396, allocations: 0 / 0.7182 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.014e-05/0.2396, allocations: 0 / 0.7182 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.061e-05/0.2396, allocations: 3.938 kB / 0.7182 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.34e-05/0.2397, allocations: 4 kB / 0.7183 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.211e-05/0.2397, allocations: 0 / 0.7183 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.36e-05/0.2398, allocations: 7.938 kB / 0.7183 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.335e-05/0.2398, allocations: 4 kB / 0.7183 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.626e-05/0.2398, allocations: 3.984 kB / 0.7183 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.2399, allocations: 0 / 0.7183 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.077e-06/0.2399, allocations: 0 / 0.7183 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.408e-05/0.2399, allocations: 0 / 0.7183 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.467e-05/0.2399, allocations: 7.984 kB / 0.7183 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.243e-05/0.24, allocations: 0 / 0.7183 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.24, allocations: 0 / 0.7183 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.094e-06/0.24, allocations: 0 / 0.7183 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.24, allocations: 0 / 0.7183 GB, free: 10.46 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.0003855/0.2404, allocations: 250.6 kB / 0.7185 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.2404, allocations: 12.03 kB / 0.7185 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.676e-05/0.2405, allocations: 34.75 kB / 0.7186 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.299e-05/0.2405, allocations: 0.9375 kB / 0.7186 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.2406, allocations: 102.5 kB / 0.7187 GB, free: 10 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.2407, allocations: 384 / 0.7187 GB, free: 10 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-06/0.2407, allocations: 384 / 0.7187 GB, free: 10 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.818e-05/0.2408, allocations: 38.2 kB / 0.7187 GB, free: 9.961 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.2408, allocations: 3.938 kB / 0.7187 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.663e-06/0.2408, allocations: 0 / 0.7187 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.2408, allocations: 0 / 0.7187 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.927e-05/0.2408, allocations: 8 kB / 0.7187 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004093/0.2412, allocations: 351 kB / 0.719 GB, free: 9.562 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.2413, allocations: 173 kB / 0.7192 GB, free: 9.383 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.713e-05/0.2414, allocations: 84.17 kB / 0.7193 GB, free: 9.297 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.897e-05/0.2414, allocations: 75.28 kB / 0.7194 GB, free: 9.223 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.041e-05/0.2415, allocations: 109.8 kB / 0.7195 GB, free: 9.105 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.001e-06/0.2415, allocations: 0 / 0.7195 GB, free: 9.105 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.623e-05/0.2416, allocations: 25.7 kB / 0.7195 GB, free: 9.074 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.313e-05/0.2416, allocations: 130.7 kB / 0.7196 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.2417, allocations: 101.8 kB / 0.7197 GB, free: 8.824 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.2418, allocations: 29.83 kB / 0.7197 GB, free: 8.789 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.775e-05/0.2418, allocations: 84.14 kB / 0.7198 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-06/0.2418, allocations: 0 / 0.7198 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/0.2418, allocations: 9.719 kB / 0.7198 GB, free: 8.688 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.242, allocations: 314.8 kB / 0.7201 GB, free: 8.371 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.193e-06/0.242, allocations: 4 kB / 0.7201 GB, free: 8.367 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.106e-06/0.242, allocations: 0 / 0.7201 GB, free: 8.367 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.985e-05/0.242, allocations: 83.28 kB / 0.7202 GB, free: 8.285 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.702e-05/0.2421, allocations: 79.22 kB / 0.7203 GB, free: 8.207 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.059e-05/0.2421, allocations: 29.69 kB / 0.7203 GB, free: 8.172 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.142e-05/0.2422, allocations: 83.28 kB / 0.7204 GB, free: 8.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.99e-05/0.2422, allocations: 83.22 kB / 0.7205 GB, free: 8.008 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.302e-05/0.2423, allocations: 150.6 kB / 0.7206 GB, free: 7.859 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.821e-05/0.2424, allocations: 79.28 kB / 0.7207 GB, free: 7.781 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-05/0.2424, allocations: 154.5 kB / 0.7208 GB, free: 7.629 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.958e-05/0.2425, allocations: 79.22 kB / 0.7209 GB, free: 7.551 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-05/0.2426, allocations: 83.22 kB / 0.721 GB, free: 7.469 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.0001561/0.2427, allocations: 268.3 kB / 0.7212 GB, free: 7.195 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.087e-05/0.2428, allocations: 105 kB / 0.7213 GB, free: 7.086 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.792e-05/0.2429, allocations: 115.9 kB / 0.7215 GB, free: 6.969 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-05/0.2429, allocations: 177 kB / 0.7216 GB, free: 6.789 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.845e-05/0.243, allocations: 180.3 kB / 0.7218 GB, free: 6.605 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.406e-05/0.2431, allocations: 192.2 kB / 0.722 GB, free: 6.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002837/0.2434, allocations: 376.2 kB / 0.7223 GB, free: 5.992 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-05/0.2435, allocations: 104.9 kB / 0.7224 GB, free: 5.883 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.052e-05/0.2435, allocations: 105 kB / 0.7225 GB, free: 5.773 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-05/0.2436, allocations: 180.6 kB / 0.7227 GB, free: 5.59 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/0.2437, allocations: 184.2 kB / 0.7229 GB, free: 5.402 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.151e-05/0.2438, allocations: 176.3 kB / 0.7231 GB, free: 5.223 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.888e-05/0.2439, allocations: 184.2 kB / 0.7232 GB, free: 5.035 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.2441, allocations: 311.8 kB / 0.7235 GB, free: 4.707 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.591e-05/0.2441, allocations: 108.9 kB / 0.7236 GB, free: 4.594 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.45e-05/0.2442, allocations: 180.3 kB / 0.7238 GB, free: 4.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.552e-05/0.2443, allocations: 104.9 kB / 0.7239 GB, free: 4.301 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.256e-05/0.2444, allocations: 180.2 kB / 0.7241 GB, free: 4.117 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.699e-05/0.2445, allocations: 109 kB / 0.7242 GB, free: 4.004 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.137e-05/0.2445, allocations: 75.28 kB / 0.7243 GB, free: 3.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.2445, allocations: 3.938 kB / 0.7243 GB, free: 3.926 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002763/0.2448, allocations: 0 / 0.7243 GB, free: 3.926 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.0006102/0.2454, allocations: 0.8087 MB / 0.725 GB, free: 3.086 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.107e-05/0.2455, allocations: 8.094 kB / 0.7251 GB, free: 3.078 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2455, allocations: 0 / 0.7251 GB, free: 3.078 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.579e-06/0.2455, allocations: 3.938 kB / 0.7251 GB, free: 3.074 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004503/0.2459, allocations: 461.7 kB / 0.7255 GB, free: 2.621 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.2474, allocations: 1.538 MB / 0.727 GB, free: 1.008 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.162e-05/0.2474, allocations: 55.36 kB / 0.7271 GB, free: 0.9336 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.947e-06/0.2474, allocations: 0 / 0.7271 GB, free: 0.9336 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.2475, allocations: 8.5 kB / 0.7271 GB, free: 0.9258 MB / 0.6198 GB Notification: Performance of SimCode: time 9.72e-07/0.2475, allocations: 128 / 0.7271 GB, free: 0.9258 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03128/0.2787, allocations: 1.539 MB / 0.7286 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.48, allocations: 13.02 kB / 0.7286 GB, free: 15.48 MB / 0.6355 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Constant.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.555677195006865] Failed to read output from testmodel.py, exit status != 0: 11.586392584998976 11.608297115 11.36341731 Calling exit ...