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.0007854/0.0007854, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.00082/0.00082, allocations: 162 kB / 22.43 MB, free: 2.141 MB / 18.57 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 0.8724/0.8724, allocations: 177.2 MB / 202.8 MB, free: 5.773 MB / 186.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.6901/0.6901, allocations: 154.7 MB / 413.9 MB, free: 0.7578 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.0009579/0.0009579, allocations: 69.36 kB / 0.6184 GB, free: 13.56 MB / 0.5886 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.4231/0.424, allocations: 101.9 MB / 0.7179 GB, free: 23.36 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Asin): time 0.0013/0.4253, allocations: 0.6593 MB / 0.7186 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006232/0.426, allocations: 0.8133 MB / 0.7194 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.01e-05/0.426, allocations: 0 / 0.7194 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.54e-05/0.426, allocations: 1.609 kB / 0.7194 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.832e-05/0.4261, allocations: 12.72 kB / 0.7194 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001686/0.4262, allocations: 10.84 kB / 0.7194 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.086e-05/0.4263, allocations: 25.11 kB / 0.7194 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 8.586e-05/0.4264, allocations: 10.83 kB / 0.7194 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.158e-05/0.4265, allocations: 14.91 kB / 0.7194 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.199e-05/0.4265, allocations: 6.328 kB / 0.7195 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.4265, allocations: 1.375 kB / 0.7195 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.282e-05/0.4265, allocations: 12.58 kB / 0.7195 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.4266, allocations: 4.594 kB / 0.7195 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.835e-05/0.4266, allocations: 11.66 kB / 0.7195 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.347e-05/0.4267, allocations: 29.11 kB / 0.7195 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.4267, allocations: 1.5 kB / 0.7195 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4267, allocations: 0 / 0.7195 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.4267, allocations: 0 / 0.7195 GB, free: 22.27 MB / 0.6355 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.000285/0.427, allocations: 268.7 kB / 0.7198 GB, free: 22 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.427, allocations: 9.344 kB / 0.7198 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.891e-05/0.427, allocations: 34.75 kB / 0.7198 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.479e-05/0.4271, allocations: 9.156 kB / 0.7198 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.167e-05/0.4271, allocations: 109.3 kB / 0.7199 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.4271, allocations: 1.344 kB / 0.7199 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.856e-06/0.4272, allocations: 5.594 kB / 0.7199 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.4273, allocations: 49.5 kB / 0.72 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.4273, allocations: 3.938 kB / 0.72 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.4273, allocations: 1.062 kB / 0.72 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.4273, allocations: 0 / 0.72 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.626e-05/0.4274, allocations: 42.02 kB / 0.72 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002371/0.4276, allocations: 210.9 kB / 0.7202 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.26e-05/0.4277, allocations: 44.06 kB / 0.7203 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.642e-05/0.4277, allocations: 22.38 kB / 0.7203 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.4278, allocations: 1.156 kB / 0.7203 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.313e-05/0.4278, allocations: 32.34 kB / 0.7203 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 6.51e-07/0.4278, allocations: 1.469 kB / 0.7203 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002116/0.428, allocations: 79.33 kB / 0.7204 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.246e-05/0.428, allocations: 61.31 kB / 0.7205 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.462e-05/0.4281, allocations: 96.06 kB / 0.7205 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.312e-06/0.4281, allocations: 26.73 kB / 0.7206 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.255e-05/0.4281, allocations: 94.45 kB / 0.7207 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.4281, allocations: 9.047 kB / 0.7207 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.98e-05/0.4281, allocations: 12.58 kB / 0.7207 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.981e-05/0.4281, allocations: 317.1 kB / 0.721 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.283e-05/0.4282, allocations: 14.44 kB / 0.721 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.795e-05/0.4282, allocations: 14.62 kB / 0.721 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.301e-05/0.4283, allocations: 45.92 kB / 0.7211 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.4283, allocations: 7.875 kB / 0.7211 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001035/0.4284, allocations: 66.91 kB / 0.7211 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.4284, allocations: 5.562 kB / 0.7211 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.4284, allocations: 0.5156 kB / 0.7211 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.4284, allocations: 0 / 0.7211 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.551e-05/0.4285, allocations: 13.98 kB / 0.7211 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.4285, allocations: 0 / 0.7211 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.285e-05/0.4285, allocations: 7.297 kB / 0.7212 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.4285, allocations: 0 / 0.7212 GB, free: 20.71 MB / 0.6355 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 3.838e-05/0.4286, allocations: 113.7 kB / 0.7213 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.4286, allocations: 1.062 kB / 0.7213 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/0.4287, allocations: 80.14 kB / 0.7213 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.4287, allocations: 4.031 kB / 0.7213 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.4287, allocations: 5.25 kB / 0.7213 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.4287, allocations: 0.5156 kB / 0.7213 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.602e-05/0.4288, allocations: 128.1 kB / 0.7215 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4288, allocations: 1.719 kB / 0.7215 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.865e-05/0.4288, allocations: 12.12 kB / 0.7215 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.4289, allocations: 0.6094 kB / 0.7215 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.4289, allocations: 1.312 kB / 0.7215 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.4289, allocations: 0 / 0.7215 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.4289, allocations: 1.672 kB / 0.7215 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.429, allocations: 171.3 kB / 0.7216 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-06/0.429, allocations: 5.609 kB / 0.7217 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.257e-06/0.429, allocations: 1.875 kB / 0.7217 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.604e-05/0.429, allocations: 6.094 kB / 0.7217 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.4291, allocations: 2.531 kB / 0.7217 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.4291, allocations: 0 / 0.7217 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.395e-05/0.4291, allocations: 84.09 kB / 0.7217 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4291, allocations: 3.938 kB / 0.7217 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001325/0.4292, allocations: 9.5 kB / 0.7218 GB, free: 20.14 MB / 0.6355 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.0001985/0.4294, allocations: 0.6874 MB / 0.7224 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001156/0.4295, allocations: 39.81 kB / 0.7225 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4295, allocations: 0 / 0.7225 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.545e-05/0.4296, allocations: 24.09 kB / 0.7225 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.4298, allocations: 2.953 kB / 0.7225 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002933/0.4301, allocations: 138.5 kB / 0.7226 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.47e-05/0.4301, allocations: 60.33 kB / 0.7227 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.683e-05/0.4301, allocations: 1.094 kB / 0.7227 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/0.4302, allocations: 15.48 kB / 0.7227 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of SimCode: time 5.81e-07/0.4302, allocations: 0 / 0.7227 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01674/0.4469, allocations: 1.934 MB / 0.7246 GB, free: 18.34 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.545/6.992, allocations: 9.047 kB / 0.7246 GB, free: 18.33 MB / 0.6355 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 9.640346749103628] Failed to read output from testmodel.py, exit status != 0: 7.071225745952688 7.08017503 6.651778055 Calling exit ...