Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008331/0.0008331, 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.001009/0.001009, 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.8868/0.8868, allocations: 177.2 MB / 202.8 MB, free: 5.781 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.6881/0.6881, 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.Sources.Validation.Sin,fileNamePrefix="IDEAS_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_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.0009523/0.0009523, allocations: 78.08 kB / 0.6184 GB, free: 13.55 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.4455/0.4465, allocations: 101.9 MB / 0.7179 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001228/0.4477, allocations: 0.5914 MB / 0.7185 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006926/0.4484, allocations: 0.8517 MB / 0.7193 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.953e-05/0.4484, allocations: 0 / 0.7193 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.488e-05/0.4484, allocations: 3.938 kB / 0.7193 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.597e-05/0.4485, allocations: 2.094 kB / 0.7193 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001764/0.4487, allocations: 12.67 kB / 0.7193 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.074e-05/0.4487, allocations: 17.89 kB / 0.7194 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.227e-05/0.4488, allocations: 10.55 kB / 0.7194 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.4489, allocations: 20.06 kB / 0.7194 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.715e-05/0.4489, allocations: 12.06 kB / 0.7194 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.449, allocations: 1.406 kB / 0.7194 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 3.842e-05/0.449, allocations: 8.469 kB / 0.7194 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 9.167e-06/0.449, allocations: 0.8438 kB / 0.7194 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.696e-05/0.449, allocations: 6.344 kB / 0.7194 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.551e-05/0.4491, allocations: 29.23 kB / 0.7194 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.4491, allocations: 7.938 kB / 0.7195 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4491, allocations: 1.312 kB / 0.7195 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.4491, 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002693/0.4494, allocations: 249.8 kB / 0.7197 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.4494, allocations: 8.781 kB / 0.7197 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.091e-05/0.4495, allocations: 32.36 kB / 0.7197 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.4496, allocations: 17.94 kB / 0.7198 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.929e-05/0.4496, allocations: 114.3 kB / 0.7199 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.4496, allocations: 1.469 kB / 0.7199 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.4496, allocations: 384 / 0.7199 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.072e-05/0.4497, allocations: 35.34 kB / 0.7199 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.4497, allocations: 8.844 kB / 0.7199 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.4497, allocations: 0 / 0.7199 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.4497, allocations: 0 / 0.7199 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.844e-05/0.4498, allocations: 20.62 kB / 0.7199 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.055e-05/0.4499, allocations: 122.9 kB / 0.72 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.653e-05/0.4499, allocations: 26.11 kB / 0.7201 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.404e-05/0.4499, allocations: 10.39 kB / 0.7201 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.45, allocations: 1.344 kB / 0.7201 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.41e-05/0.45, allocations: 32.58 kB / 0.7201 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 6.41e-07/0.45, allocations: 0 / 0.7201 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.000154/0.4501, allocations: 59.61 kB / 0.7202 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.105e-05/0.4502, allocations: 53.12 kB / 0.7202 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.437e-05/0.4502, allocations: 105.5 kB / 0.7203 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.829e-06/0.4502, allocations: 26.86 kB / 0.7203 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.755e-05/0.4502, allocations: 86.03 kB / 0.7204 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.4502, allocations: 5.891 kB / 0.7204 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.032e-05/0.4503, allocations: 11.41 kB / 0.7204 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.532e-05/0.4503, allocations: 313.7 kB / 0.7207 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.366e-05/0.4503, allocations: 10.81 kB / 0.7207 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.616e-05/0.4503, allocations: 5.031 kB / 0.7208 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.194e-05/0.4504, allocations: 26.34 kB / 0.7208 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4504, allocations: 1.344 kB / 0.7208 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.683e-05/0.4504, allocations: 47.03 kB / 0.7208 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.4504, allocations: 12.53 kB / 0.7208 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.4504, allocations: 4.516 kB / 0.7208 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.4505, allocations: 1.25 kB / 0.7208 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.135e-05/0.4505, allocations: 4.469 kB / 0.7208 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.4505, allocations: 0 / 0.7208 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.494e-05/0.4505, allocations: 2.953 kB / 0.7208 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.4505, allocations: 4.688 kB / 0.7209 GB, free: 20.82 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 3.575e-05/0.4506, allocations: 113.8 kB / 0.721 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-06/0.4506, allocations: 5.125 kB / 0.721 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.574e-05/0.4506, allocations: 9.438 kB / 0.721 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.4506, allocations: 0 / 0.721 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4506, allocations: 1.281 kB / 0.721 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.4506, allocations: 4.547 kB / 0.721 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.058e-05/0.4506, allocations: 122.6 kB / 0.7211 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4506, allocations: 1.156 kB / 0.7211 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.578e-05/0.4507, allocations: 3.516 kB / 0.7211 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4507, allocations: 9.766 kB / 0.7211 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.4507, allocations: 0 / 0.7211 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4507, allocations: 0.6562 kB / 0.7211 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4507, allocations: 1.094 kB / 0.7211 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.15e-05/0.4507, allocations: 76.58 kB / 0.7212 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.102e-06/0.4507, allocations: 1.734 kB / 0.7212 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-06/0.4508, allocations: 5.422 kB / 0.7212 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.136e-05/0.4508, allocations: 1.828 kB / 0.7212 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.4508, allocations: 6.516 kB / 0.7212 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-06/0.4508, allocations: 5.188 kB / 0.7212 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.634e-05/0.4508, allocations: 84.33 kB / 0.7213 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4508, allocations: 1.031 kB / 0.7213 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001125/0.4509, allocations: 2.25 kB / 0.7213 GB, free: 20.37 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.0001812/0.4511, allocations: 0.6037 MB / 0.7219 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.779e-05/0.4512, allocations: 18.2 kB / 0.7219 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.4512, allocations: 1.188 kB / 0.7219 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.04e-05/0.4512, allocations: 10.45 kB / 0.7219 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001147/0.4513, allocations: 3.781 kB / 0.7219 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000293/0.4516, allocations: 135.3 kB / 0.722 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.883e-05/0.4517, allocations: 58.72 kB / 0.7221 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.57e-05/0.4517, allocations: 5.734 kB / 0.7221 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.142e-05/0.4517, allocations: 13.2 kB / 0.7221 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of SimCode: time 6.21e-07/0.4517, allocations: 0 / 0.7221 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01699/0.4687, allocations: 1.746 MB / 0.7238 GB, free: 18.65 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.44/6.908, allocations: 4.438 kB / 0.7238 GB, free: 18.65 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Sin.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.665692558977753] Failed to read output from testmodel.py, exit status != 0: 6.984666304080747 6.993843237 6.54295485 Calling exit ...