Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.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.00132/0.00132, allocations: 72.45 kB / 19.02 MB, free: 1.102 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.001396/0.001396, allocations: 164.2 kB / 22.29 MB, free: 3.52 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.415/1.415, allocations: 177.2 MB / 202.7 MB, free: 4.812 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.234/1.234, allocations: 154.7 MB / 413.8 MB, free: 3.117 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.Validation.Sin,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Sin",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.002948/0.002948, allocations: 64.23 kB / 0.6181 GB, free: 1.051 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.2254/0.2283, allocations: 102 MB / 0.7177 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002641/0.231, allocations: 0.6502 MB / 0.7183 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001468/0.2324, allocations: 0.8436 MB / 0.7192 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.085e-05/0.2325, allocations: 0 / 0.7192 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.559e-05/0.2325, allocations: 3.938 kB / 0.7192 GB, free: 9.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.451e-05/0.2326, allocations: 0 / 0.7192 GB, free: 9.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.2329, allocations: 23.92 kB / 0.7192 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.233, allocations: 27.86 kB / 0.7192 GB, free: 9.609 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.2331, allocations: 4 kB / 0.7192 GB, free: 9.605 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.425e-05/0.2332, allocations: 11.98 kB / 0.7192 GB, free: 9.594 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.213e-05/0.2332, allocations: 19.91 kB / 0.7193 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.2333, allocations: 0 / 0.7193 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.092e-05/0.2333, allocations: 4 kB / 0.7193 GB, free: 9.57 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.986e-05/0.2333, allocations: 4 kB / 0.7193 GB, free: 9.566 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.699e-05/0.2334, allocations: 7.938 kB / 0.7193 GB, free: 9.559 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.2335, allocations: 24.19 kB / 0.7193 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2335, allocations: 0 / 0.7193 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2335, allocations: 4 kB / 0.7193 GB, free: 9.531 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.2335, allocations: 0 / 0.7193 GB, free: 9.531 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005598/0.2341, allocations: 262.3 kB / 0.7195 GB, free: 9.242 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.2341, allocations: 8.031 kB / 0.7196 GB, free: 9.234 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.515e-05/0.2342, allocations: 42.67 kB / 0.7196 GB, free: 9.184 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.055e-05/0.2342, allocations: 8.891 kB / 0.7196 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.2344, allocations: 106.5 kB / 0.7197 GB, free: 9.047 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.2344, allocations: 8.375 kB / 0.7197 GB, free: 9.039 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.345e-06/0.2344, allocations: 384 / 0.7197 GB, free: 9.039 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.2346, allocations: 58.17 kB / 0.7198 GB, free: 8.977 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.2346, allocations: 3.938 kB / 0.7198 GB, free: 8.973 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.2346, allocations: 0 / 0.7198 GB, free: 8.973 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.2346, allocations: 0 / 0.7198 GB, free: 8.973 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.2348, allocations: 35.95 kB / 0.7198 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000388/0.2352, allocations: 212.1 kB / 0.72 GB, free: 8.688 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.2354, allocations: 50.36 kB / 0.7201 GB, free: 8.629 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.2355, allocations: 24.91 kB / 0.7201 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.887e-05/0.2355, allocations: 0 / 0.7201 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.2355, allocations: 34.56 kB / 0.7201 GB, free: 8.559 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.2355, allocations: 0 / 0.7201 GB, free: 8.559 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.000396/0.2359, allocations: 77.64 kB / 0.7202 GB, free: 8.477 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.236, allocations: 51.41 kB / 0.7202 GB, free: 8.414 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.2361, allocations: 101.8 kB / 0.7203 GB, free: 8.305 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.2361, allocations: 33.81 kB / 0.7204 GB, free: 8.266 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.962e-05/0.2361, allocations: 88.14 kB / 0.7205 GB, free: 8.176 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.2362, allocations: 3.953 kB / 0.7205 GB, free: 8.172 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.52e-05/0.2362, allocations: 9.719 kB / 0.7205 GB, free: 8.156 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.2364, allocations: 314.8 kB / 0.7208 GB, free: 7.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.2365, allocations: 19.97 kB / 0.7208 GB, free: 7.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.363e-05/0.2365, allocations: 11.98 kB / 0.7208 GB, free: 7.809 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.2367, allocations: 44.89 kB / 0.7208 GB, free: 7.762 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.2367, allocations: 3.938 kB / 0.7208 GB, free: 7.758 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002096/0.2369, allocations: 69.61 kB / 0.7209 GB, free: 7.684 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.2369, allocations: 4 kB / 0.7209 GB, free: 7.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.2369, allocations: 0 / 0.7209 GB, free: 7.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.237, allocations: 0 / 0.7209 GB, free: 7.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.947e-05/0.2371, allocations: 15.92 kB / 0.7209 GB, free: 7.664 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.2371, allocations: 0 / 0.7209 GB, free: 7.664 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.957e-05/0.2371, allocations: 8.031 kB / 0.7209 GB, free: 7.656 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.2371, allocations: 0 / 0.7209 GB, free: 7.656 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 (2): * Single equations (assignments): 2 * 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.0001017/0.2372, allocations: 121.7 kB / 0.7211 GB, free: 7.527 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.208e-05/0.2372, allocations: 0 / 0.7211 GB, free: 7.527 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000258/0.2375, allocations: 68.97 kB / 0.7211 GB, free: 7.457 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2375, allocations: 4.188 kB / 0.7211 GB, free: 7.453 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2375, allocations: 0 / 0.7211 GB, free: 7.453 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.2375, allocations: 3.984 kB / 0.7211 GB, free: 7.449 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.2377, allocations: 132.7 kB / 0.7213 GB, free: 7.277 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.2377, allocations: 0 / 0.7213 GB, free: 7.277 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.356e-05/0.2378, allocations: 11.98 kB / 0.7213 GB, free: 7.266 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2378, allocations: 3.938 kB / 0.7213 GB, free: 7.262 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/0.2378, allocations: 0 / 0.7213 GB, free: 7.262 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2378, allocations: 0 / 0.7213 GB, free: 7.262 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2378, allocations: 0 / 0.7213 GB, free: 7.262 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.238, allocations: 163.5 kB / 0.7214 GB, free: 7.086 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.391e-05/0.238, allocations: 11.98 kB / 0.7214 GB, free: 7.074 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.2381, allocations: 4 kB / 0.7214 GB, free: 7.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.919e-05/0.2381, allocations: 7.984 kB / 0.7214 GB, free: 7.062 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.2382, allocations: 3.938 kB / 0.7214 GB, free: 7.059 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.2382, allocations: 0 / 0.7214 GB, free: 7.059 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.33e-05/0.2382, allocations: 83.28 kB / 0.7215 GB, free: 6.977 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.2382, allocations: 0 / 0.7215 GB, free: 6.977 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002183/0.2385, allocations: 4 kB / 0.7215 GB, free: 6.973 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 (2): * Single equations (assignments): 2 * 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.0006415/0.2391, allocations: 0.7006 MB / 0.7222 GB, free: 6.242 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002306/0.2393, allocations: 31.97 kB / 0.7222 GB, free: 6.211 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2393, allocations: 0 / 0.7222 GB, free: 6.211 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.965e-05/0.2394, allocations: 19.98 kB / 0.7223 GB, free: 6.191 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.2398, allocations: 3.984 kB / 0.7223 GB, free: 6.188 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005477/0.2403, allocations: 147.8 kB / 0.7224 GB, free: 6 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.842e-05/0.2404, allocations: 63.34 kB / 0.7225 GB, free: 5.918 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.53e-05/0.2404, allocations: 0 / 0.7225 GB, free: 5.918 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.453e-05/0.2405, allocations: 12.5 kB / 0.7225 GB, free: 5.902 MB / 0.6198 GB Notification: Performance of SimCode: time 5.41e-07/0.2405, allocations: 0 / 0.7225 GB, free: 5.902 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03267/0.2731, allocations: 1.916 MB / 0.7244 GB, free: 4.094 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.36, allocations: 11.94 kB / 0.7244 GB, free: 4.086 MB / 0.6198 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Sin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Sin.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.346863318001851] Failed to read output from testmodel.py, exit status != 0: 11.476676672988106 11.502271243 11.263900782 Calling exit ...