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.0007528/0.0007528, 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.0008085/0.0008085, allocations: 162 kB / 22.43 MB, free: 2.145 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.8981/0.8981, allocations: 177.2 MB / 202.8 MB, free: 5.777 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.7031/0.7031, allocations: 154.7 MB / 413.9 MB, free: 0.75 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.0008654/0.0008654, allocations: 69.3 kB / 0.6184 GB, free: 13.58 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.4657/0.4666, allocations: 102 MB / 0.7179 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001503/0.4681, allocations: 0.6543 MB / 0.7186 GB, free: 22.93 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007899/0.4689, allocations: 0.8405 MB / 0.7194 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.536e-05/0.4689, allocations: 1.5 kB / 0.7194 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.583e-05/0.4689, allocations: 0 / 0.7194 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.873e-05/0.469, allocations: 6.172 kB / 0.7194 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/0.4692, allocations: 16.84 kB / 0.7194 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.234e-05/0.4693, allocations: 27.19 kB / 0.7195 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.4694, allocations: 7.922 kB / 0.7195 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.221e-05/0.4694, allocations: 15.91 kB / 0.7195 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.676e-05/0.4695, allocations: 14.19 kB / 0.7195 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.4695, allocations: 5.094 kB / 0.7195 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.88e-05/0.4695, allocations: 4.812 kB / 0.7195 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.445e-05/0.4696, allocations: 9.203 kB / 0.7195 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.966e-05/0.4696, allocations: 7.656 kB / 0.7195 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.4697, allocations: 27.77 kB / 0.7195 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4697, allocations: 0.9375 kB / 0.7195 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.265e-06/0.4697, allocations: 0 / 0.7195 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.4697, allocations: 0 / 0.7195 GB, free: 22.23 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.0003217/0.47, allocations: 273.8 kB / 0.7198 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.4701, allocations: 9.719 kB / 0.7198 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.527e-05/0.4701, allocations: 31.45 kB / 0.7198 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.985e-05/0.4702, allocations: 7.797 kB / 0.7198 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.511e-05/0.4702, allocations: 107 kB / 0.72 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.4703, allocations: 384 / 0.72 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.4703, allocations: 1.469 kB / 0.72 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.4704, allocations: 50 kB / 0.72 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.4704, allocations: 3.938 kB / 0.72 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.4704, allocations: 0.6094 kB / 0.72 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.4704, allocations: 5.031 kB / 0.72 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.007e-05/0.4705, allocations: 32.33 kB / 0.72 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002478/0.4708, allocations: 218.9 kB / 0.7202 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.104e-05/0.4708, allocations: 39.7 kB / 0.7203 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.653e-05/0.4709, allocations: 24.02 kB / 0.7203 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.4709, allocations: 5.266 kB / 0.7203 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.498e-05/0.4709, allocations: 36.64 kB / 0.7203 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.4709, allocations: 0 / 0.7203 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002241/0.4711, allocations: 83.44 kB / 0.7204 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.4712, allocations: 52.91 kB / 0.7205 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.01e-05/0.4712, allocations: 102.1 kB / 0.7206 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.71e-06/0.4712, allocations: 25.7 kB / 0.7206 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.314e-05/0.4712, allocations: 85.75 kB / 0.7207 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.496e-05/0.4713, allocations: 2.219 kB / 0.7207 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.12e-05/0.4713, allocations: 20.3 kB / 0.7207 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.705e-05/0.4713, allocations: 313.5 kB / 0.721 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.097e-05/0.4713, allocations: 13.77 kB / 0.721 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.898e-05/0.4714, allocations: 17.94 kB / 0.721 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.23e-05/0.4715, allocations: 37.98 kB / 0.7211 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4715, allocations: 5 kB / 0.7211 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001092/0.4716, allocations: 75.19 kB / 0.7211 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.4716, allocations: 4.656 kB / 0.7212 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.4716, allocations: 0.5156 kB / 0.7212 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.4716, allocations: 1.125 kB / 0.7212 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.105e-05/0.4717, allocations: 12.56 kB / 0.7212 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.4717, allocations: 0.5156 kB / 0.7212 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.396e-05/0.4717, allocations: 14.7 kB / 0.7212 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.4717, allocations: 1.281 kB / 0.7212 GB, free: 20.66 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 4.33e-05/0.4718, allocations: 120.4 kB / 0.7213 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.4718, allocations: 2.094 kB / 0.7213 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001564/0.4719, allocations: 75.56 kB / 0.7214 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.472, allocations: 1.125 kB / 0.7214 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.472, allocations: 0 / 0.7214 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.472, allocations: 0.6562 kB / 0.7214 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.971e-05/0.472, allocations: 132.7 kB / 0.7215 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.4721, allocations: 1.062 kB / 0.7215 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.209e-05/0.4721, allocations: 13.36 kB / 0.7215 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.4721, allocations: 0 / 0.7215 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.4721, allocations: 4.609 kB / 0.7215 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.4721, allocations: 1.062 kB / 0.7215 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4721, allocations: 0 / 0.7215 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.4722, allocations: 159.4 kB / 0.7217 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.634e-06/0.4722, allocations: 10.69 kB / 0.7217 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.4722, allocations: 0.6562 kB / 0.7217 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.871e-05/0.4723, allocations: 10.78 kB / 0.7217 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.4723, allocations: 6.875 kB / 0.7217 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.4723, allocations: 1.062 kB / 0.7217 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.064e-05/0.4723, allocations: 79.84 kB / 0.7218 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4723, allocations: 0 / 0.7218 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001399/0.4725, allocations: 3.281 kB / 0.7218 GB, free: 20.1 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.0002755/0.4728, allocations: 0.6929 MB / 0.7225 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001491/0.4729, allocations: 38.55 kB / 0.7225 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.4729, allocations: 0 / 0.7225 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.882e-05/0.473, allocations: 21.2 kB / 0.7225 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.4732, allocations: 2.922 kB / 0.7225 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003775/0.4736, allocations: 142.7 kB / 0.7226 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.847e-05/0.4737, allocations: 69.02 kB / 0.7227 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.149e-05/0.4737, allocations: 0 / 0.7227 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.308e-05/0.4737, allocations: 10.7 kB / 0.7227 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of SimCode: time 5.51e-07/0.4737, allocations: 1.188 kB / 0.7227 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01622/0.4899, allocations: 1.919 MB / 0.7246 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.443/6.933, allocations: 3.844 kB / 0.7246 GB, free: 18.29 MB / 0.6355 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin_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_Sin.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.69765207101591] Failed to read output from testmodel.py, exit status != 0: 7.009830580092967 7.018226317 6.546872446 Calling exit ...