Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.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.0007319/0.0007319, allocations: 72.47 kB / 19.14 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.0007514/0.0007514, allocations: 165.9 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.8768/0.8768, allocations: 177.2 MB / 202.8 MB, free: 5.559 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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 master/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 master/package.mo): time 0.7062/0.7062, allocations: 154.9 MB / 414.2 MB, free: 460 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.Sin,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_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.0009736/0.0009736, allocations: 70.45 kB / 0.6187 GB, free: 13.21 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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.4142/0.4152, allocations: 102 MB / 0.7182 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.00172/0.4169, allocations: 0.5944 MB / 0.7188 GB, free: 22.81 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.4179, allocations: 0.8477 MB / 0.7196 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.496e-05/0.4179, allocations: 0 / 0.7196 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.122e-05/0.418, allocations: 0.6562 kB / 0.7196 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.053e-05/0.418, allocations: 4.906 kB / 0.7197 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/0.4182, allocations: 12.89 kB / 0.7197 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.43e-05/0.4183, allocations: 17.2 kB / 0.7197 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.963e-05/0.4184, allocations: 2.734 kB / 0.7197 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.4185, allocations: 23.92 kB / 0.7197 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.004e-05/0.4186, allocations: 12.33 kB / 0.7197 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.4186, allocations: 5.156 kB / 0.7197 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.558e-05/0.4186, allocations: 3.75 kB / 0.7197 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.083e-05/0.4187, allocations: 0.8438 kB / 0.7197 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.886e-05/0.4187, allocations: 10.86 kB / 0.7197 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.4188, allocations: 26.16 kB / 0.7198 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4188, allocations: 0 / 0.7198 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.524e-06/0.4188, allocations: 0 / 0.7198 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.4188, allocations: 1.438 kB / 0.7198 GB, free: 22.12 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003563/0.4192, allocations: 248 kB / 0.72 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.4192, allocations: 11.41 kB / 0.72 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.563e-05/0.4192, allocations: 39.45 kB / 0.7201 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/0.4193, allocations: 18.56 kB / 0.7201 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.537e-05/0.4194, allocations: 114 kB / 0.7202 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.4194, allocations: 384 / 0.7202 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.4194, allocations: 1.406 kB / 0.7202 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.4196, allocations: 39.83 kB / 0.7202 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.4196, allocations: 4.5 kB / 0.7202 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.4196, allocations: 0 / 0.7202 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.4196, allocations: 0 / 0.7202 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.9e-05/0.4196, allocations: 20.52 kB / 0.7202 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001064/0.4197, allocations: 127 kB / 0.7204 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.444e-05/0.4198, allocations: 22.16 kB / 0.7204 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.853e-05/0.4198, allocations: 14.12 kB / 0.7204 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.4198, allocations: 1.656 kB / 0.7204 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.4199, allocations: 40.55 kB / 0.7204 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.483e-06/0.4199, allocations: 0 / 0.7204 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001679/0.42, allocations: 51.09 kB / 0.7205 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/0.4201, allocations: 61.7 kB / 0.7205 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.207e-05/0.4201, allocations: 98.7 kB / 0.7206 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.122e-06/0.4201, allocations: 25.7 kB / 0.7207 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.537e-05/0.4201, allocations: 85.64 kB / 0.7207 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.4202, allocations: 5.953 kB / 0.7208 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.95e-05/0.4202, allocations: 12.67 kB / 0.7208 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.373e-05/0.4202, allocations: 315.5 kB / 0.7211 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.236e-05/0.4202, allocations: 6.359 kB / 0.7211 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.637e-05/0.4202, allocations: 7.969 kB / 0.7211 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.092e-05/0.4203, allocations: 28.84 kB / 0.7211 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4203, allocations: 0 / 0.7211 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.14e-05/0.4204, allocations: 43.42 kB / 0.7211 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.4204, allocations: 10.5 kB / 0.7212 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.4204, allocations: 0 / 0.7212 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.4204, allocations: 0 / 0.7212 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.924e-05/0.4204, allocations: 4.375 kB / 0.7212 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.4204, allocations: 0.6562 kB / 0.7212 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.64e-05/0.4205, allocations: 3.141 kB / 0.7212 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.4205, allocations: 4.688 kB / 0.7212 GB, free: 20.67 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 (1): * Single equations (assignments): 1 * 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.032e-05/0.4205, allocations: 117.8 kB / 0.7213 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.919e-06/0.4205, allocations: 5.281 kB / 0.7213 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.843e-05/0.4205, allocations: 9.734 kB / 0.7213 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.4205, allocations: 0 / 0.7213 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.4205, allocations: 0 / 0.7213 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4205, allocations: 0.5156 kB / 0.7213 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.728e-05/0.4206, allocations: 127.5 kB / 0.7214 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4206, allocations: 0.6562 kB / 0.7214 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.561e-05/0.4206, allocations: 4.109 kB / 0.7214 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4206, allocations: 8.188 kB / 0.7214 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.4206, allocations: 1.891 kB / 0.7214 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.4206, allocations: 4 kB / 0.7214 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4206, allocations: 0.5156 kB / 0.7214 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.14e-05/0.4207, allocations: 73.84 kB / 0.7215 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.292e-05/0.4207, allocations: 1.953 kB / 0.7215 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.4207, allocations: 3.938 kB / 0.7215 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.046e-05/0.4207, allocations: 6.766 kB / 0.7215 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.4208, allocations: 2.406 kB / 0.7215 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-06/0.4208, allocations: 5.094 kB / 0.7215 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.851e-05/0.4208, allocations: 85.11 kB / 0.7216 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4208, allocations: 0 / 0.7216 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001156/0.4209, allocations: 3.219 kB / 0.7216 GB, free: 20.21 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 (1): * Single equations (assignments): 1 * 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.0001816/0.4211, allocations: 0.6043 MB / 0.7222 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.374e-05/0.4212, allocations: 16.75 kB / 0.7222 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.4212, allocations: 0.9062 kB / 0.7222 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.106e-05/0.4212, allocations: 11.53 kB / 0.7222 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001146/0.4213, allocations: 5.531 kB / 0.7222 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003085/0.4216, allocations: 138.9 kB / 0.7224 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.16e-05/0.4216, allocations: 58.3 kB / 0.7224 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.893e-05/0.4217, allocations: 1.734 kB / 0.7224 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.4217, allocations: 14.3 kB / 0.7224 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of SimCode: time 6.42e-07/0.4217, allocations: 0 / 0.7224 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01722/0.4389, allocations: 1.743 MB / 0.7241 GB, free: 18.5 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.805/7.244, allocations: 6.203 kB / 0.7241 GB, free: 18.49 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.csv --start-time 0 --stop-time 130 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.052 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Sin.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.014988525072113] Failed to read output from testmodel.py, exit status != 0: 7.323394074919634 7.337265021 6.916014262 Calling exit ...