Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.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.001439/0.001439, allocations: 68.47 kB / 19.02 MB, free: 1.137 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.001532/0.001532, allocations: 160 kB / 22.29 MB, free: 3.535 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.413/1.413, allocations: 177.2 MB / 202.7 MB, free: 4.805 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.251/1.251, allocations: 154.7 MB / 413.8 MB, free: 3.141 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.Asin,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Asin,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Asin",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.002017/0.002017, allocations: 60.72 kB / 0.6181 GB, free: 1.059 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.2052/0.2072, allocations: 102 MB / 0.7177 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Asin): time 0.002076/0.2093, allocations: 0.65 MB / 0.7183 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.2105, allocations: 0.8124 MB / 0.7191 GB, free: 9.715 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.46e-05/0.2105, allocations: 4 kB / 0.7191 GB, free: 9.711 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.1e-05/0.2106, allocations: 3.938 kB / 0.7191 GB, free: 9.707 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.032e-05/0.2106, allocations: 3.938 kB / 0.7191 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001911/0.2108, allocations: 15.97 kB / 0.7192 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.89e-05/0.2109, allocations: 23.92 kB / 0.7192 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.151e-05/0.211, allocations: 8 kB / 0.7192 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.491e-05/0.2111, allocations: 15.98 kB / 0.7192 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.903e-05/0.2111, allocations: 15.86 kB / 0.7192 GB, free: 9.625 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.2111, allocations: 0 / 0.7192 GB, free: 9.625 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.724e-05/0.2112, allocations: 8 kB / 0.7192 GB, free: 9.617 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.2112, allocations: 4 kB / 0.7192 GB, free: 9.613 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.675e-05/0.2112, allocations: 15.92 kB / 0.7193 GB, free: 9.598 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.2113, allocations: 28.12 kB / 0.7193 GB, free: 9.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2113, allocations: 0 / 0.7193 GB, free: 9.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2113, allocations: 0 / 0.7193 GB, free: 9.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2113, allocations: 0 / 0.7193 GB, free: 9.57 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.0004608/0.2118, allocations: 262.3 kB / 0.7195 GB, free: 9.281 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.2118, allocations: 16.02 kB / 0.7195 GB, free: 9.266 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.075e-05/0.2119, allocations: 30.75 kB / 0.7196 GB, free: 9.227 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.654e-05/0.212, allocations: 8.938 kB / 0.7196 GB, free: 9.219 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.2121, allocations: 114.4 kB / 0.7197 GB, free: 9.082 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.2121, allocations: 384 / 0.7197 GB, free: 9.082 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.2121, allocations: 8.375 kB / 0.7197 GB, free: 9.074 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.2123, allocations: 46.23 kB / 0.7197 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2123, allocations: 3.938 kB / 0.7197 GB, free: 9.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.2123, allocations: 8 kB / 0.7198 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2123, allocations: 0 / 0.7198 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001827/0.2125, allocations: 31.95 kB / 0.7198 GB, free: 8.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003445/0.2128, allocations: 216 kB / 0.72 GB, free: 8.727 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.213, allocations: 38.48 kB / 0.72 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.025e-05/0.2131, allocations: 20.91 kB / 0.72 GB, free: 8.656 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.2131, allocations: 4 kB / 0.7201 GB, free: 8.652 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.2131, allocations: 34.56 kB / 0.7201 GB, free: 8.609 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.2131, allocations: 0 / 0.7201 GB, free: 8.609 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003793/0.2135, allocations: 81.58 kB / 0.7202 GB, free: 8.523 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.2135, allocations: 55.41 kB / 0.7202 GB, free: 8.457 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.204e-05/0.2136, allocations: 105.8 kB / 0.7203 GB, free: 8.344 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.2136, allocations: 25.7 kB / 0.7203 GB, free: 8.312 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.287e-05/0.2137, allocations: 80.14 kB / 0.7204 GB, free: 8.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.2137, allocations: 12.08 kB / 0.7204 GB, free: 8.219 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.2137, allocations: 13.72 kB / 0.7204 GB, free: 8.199 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.2139, allocations: 314.8 kB / 0.7207 GB, free: 7.883 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.44e-05/0.214, allocations: 15.97 kB / 0.7208 GB, free: 7.867 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.442e-05/0.2141, allocations: 19.92 kB / 0.7208 GB, free: 7.848 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.2142, allocations: 36.83 kB / 0.7208 GB, free: 7.809 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.2142, allocations: 8 kB / 0.7208 GB, free: 7.801 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002251/0.2145, allocations: 73.55 kB / 0.7209 GB, free: 7.723 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.2145, allocations: 4 kB / 0.7209 GB, free: 7.719 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.2145, allocations: 0 / 0.7209 GB, free: 7.719 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.2145, allocations: 3.938 kB / 0.7209 GB, free: 7.715 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.429e-05/0.2146, allocations: 11.98 kB / 0.7209 GB, free: 7.703 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.2146, allocations: 0 / 0.7209 GB, free: 7.703 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.785e-05/0.2146, allocations: 4 kB / 0.7209 GB, free: 7.699 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.2146, allocations: 8.031 kB / 0.7209 GB, free: 7.691 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 9.598e-05/0.2147, allocations: 117.8 kB / 0.721 GB, free: 7.566 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.2148, allocations: 0 / 0.721 GB, free: 7.566 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/0.215, allocations: 72.91 kB / 0.7211 GB, free: 7.492 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.215, allocations: 0 / 0.7211 GB, free: 7.492 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.215, allocations: 4 kB / 0.7211 GB, free: 7.488 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.215, allocations: 0 / 0.7211 GB, free: 7.488 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.2152, allocations: 124.7 kB / 0.7212 GB, free: 7.324 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2152, allocations: 4.031 kB / 0.7212 GB, free: 7.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.247e-05/0.2152, allocations: 11.98 kB / 0.7212 GB, free: 7.309 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.2152, allocations: 4 kB / 0.7212 GB, free: 7.305 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.2153, allocations: 0 / 0.7212 GB, free: 7.305 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2153, allocations: 0 / 0.7212 GB, free: 7.305 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.2153, allocations: 4 kB / 0.7212 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.2155, allocations: 159.5 kB / 0.7214 GB, free: 7.129 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.839e-06/0.2155, allocations: 3.953 kB / 0.7214 GB, free: 7.125 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.2155, allocations: 8.031 kB / 0.7214 GB, free: 7.117 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.397e-05/0.2156, allocations: 11.98 kB / 0.7214 GB, free: 7.105 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.2157, allocations: 0 / 0.7214 GB, free: 7.105 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.2157, allocations: 0 / 0.7214 GB, free: 7.105 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.162e-05/0.2157, allocations: 83.22 kB / 0.7215 GB, free: 7.023 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.2157, allocations: 0 / 0.7215 GB, free: 7.023 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002114/0.2159, allocations: 4 kB / 0.7215 GB, free: 7.02 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.000636/0.2166, allocations: 0.6929 MB / 0.7222 GB, free: 6.297 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002121/0.2168, allocations: 35.97 kB / 0.7222 GB, free: 6.262 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2168, allocations: 0 / 0.7222 GB, free: 6.262 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.263e-05/0.2169, allocations: 31.84 kB / 0.7222 GB, free: 6.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.2172, allocations: 0.625 kB / 0.7222 GB, free: 6.23 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004933/0.2177, allocations: 147.7 kB / 0.7224 GB, free: 6.043 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.048e-05/0.2178, allocations: 67.47 kB / 0.7225 GB, free: 5.957 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.269e-05/0.2178, allocations: 0 / 0.7225 GB, free: 5.957 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.12e-05/0.2178, allocations: 8.5 kB / 0.7225 GB, free: 5.945 MB / 0.6198 GB Notification: Performance of SimCode: time 3.71e-07/0.2178, allocations: 0 / 0.7225 GB, free: 5.945 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03221/0.25, allocations: 1.929 MB / 0.7243 GB, free: 4.121 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.56, allocations: 4.562 kB / 0.7243 GB, free: 4.117 MB / 0.6198 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Asin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Asin.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.58791697100969] Failed to read output from testmodel.py, exit status != 0: 11.660320455004694 11.678329327 11.463496604 Calling exit ...