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.0007118/0.0007118, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008205/0.0008205, allocations: 208.1 kB / 22.25 MB, free: 3.59 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 0.9385/0.9385, allocations: 230.6 MB / 256 MB, free: 9.59 MB / 202.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.7623/0.7623, allocations: 203.5 MB / 0.5039 GB, free: 10.67 MB / 410.7 MB " [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.001331/0.001331, allocations: 68.41 kB / 0.7178 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4566/0.4579, allocations: 102 MB / 0.8174 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001414/0.4593, allocations: 0.6563 MB / 0.8181 GB, free: 0.8281 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007144/0.46, allocations: 0.8486 MB / 0.8189 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.119e-05/0.4601, allocations: 4 kB / 0.8189 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.752e-05/0.4601, allocations: 0 / 0.8189 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.501e-05/0.4602, allocations: 8.922 kB / 0.8189 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001715/0.4603, allocations: 10.3 kB / 0.8189 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.299e-05/0.4604, allocations: 25.28 kB / 0.8189 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.912e-05/0.4605, allocations: 3.234 kB / 0.8189 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.616e-05/0.4605, allocations: 15.44 kB / 0.8189 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.35e-05/0.4606, allocations: 9.641 kB / 0.819 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.4606, allocations: 0 / 0.819 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.809e-05/0.4606, allocations: 8.75 kB / 0.819 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.4606, allocations: 2.156 kB / 0.819 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.934e-05/0.4607, allocations: 15.09 kB / 0.819 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.4608, allocations: 35.58 kB / 0.819 GB, free: 124 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4608, allocations: 0 / 0.819 GB, free: 124 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4608, allocations: 0 / 0.819 GB, free: 124 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.4608, allocations: 2.875 kB / 0.819 GB, free: 124 kB / 0.6042 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.0003432/0.4611, allocations: 265.4 kB / 0.8193 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.4612, allocations: 9.188 kB / 0.8193 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.252e-05/0.4612, allocations: 31.64 kB / 0.8193 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.334e-05/0.4613, allocations: 3.031 kB / 0.8193 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.976e-05/0.4613, allocations: 117.4 kB / 0.8194 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.4614, allocations: 1.656 kB / 0.8194 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.4614, allocations: 2.125 kB / 0.8194 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.4615, allocations: 48.08 kB / 0.8195 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.4615, allocations: 3.938 kB / 0.8195 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.4615, allocations: 1.062 kB / 0.8195 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.4615, allocations: 0.5625 kB / 0.8195 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.4616, allocations: 38.41 kB / 0.8195 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002881/0.4619, allocations: 213.5 kB / 0.8197 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.15e-05/0.462, allocations: 44.03 kB / 0.8198 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.15e-05/0.4621, allocations: 19.78 kB / 0.8198 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.4621, allocations: 3.312 kB / 0.8198 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.4621, allocations: 31.12 kB / 0.8198 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.4621, allocations: 0 / 0.8198 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002533/0.4624, allocations: 88.02 kB / 0.8199 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.4624, allocations: 52.06 kB / 0.8199 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.637e-05/0.4625, allocations: 100.6 kB / 0.82 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.4625, allocations: 28.33 kB / 0.8201 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.748e-05/0.4625, allocations: 80.8 kB / 0.8201 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.4625, allocations: 8.656 kB / 0.8202 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.25e-05/0.4625, allocations: 14.31 kB / 0.8202 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.454e-05/0.4626, allocations: 311.5 kB / 0.8205 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.612e-05/0.4627, allocations: 18.05 kB / 0.8205 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.601e-05/0.4627, allocations: 24.64 kB / 0.8205 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.133e-05/0.4628, allocations: 39.91 kB / 0.8205 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4628, allocations: 3.938 kB / 0.8206 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001078/0.4629, allocations: 71.36 kB / 0.8206 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.4629, allocations: 6.469 kB / 0.8206 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4629, allocations: 4.094 kB / 0.8206 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.4629, allocations: 4.562 kB / 0.8206 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.543e-05/0.463, allocations: 9.516 kB / 0.8206 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.463, allocations: 3.984 kB / 0.8206 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.377e-05/0.463, allocations: 9.812 kB / 0.8207 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.952e-06/0.463, allocations: 2.656 kB / 0.8207 GB, free: 14.56 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 5.108e-05/0.4631, allocations: 110.3 kB / 0.8208 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.127e-05/0.4631, allocations: 2.891 kB / 0.8208 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001438/0.4632, allocations: 86.91 kB / 0.8208 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.4632, allocations: 0.7969 kB / 0.8208 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.4632, allocations: 3.344 kB / 0.8209 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.4632, allocations: 0 / 0.8209 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.802e-05/0.4633, allocations: 127.1 kB / 0.821 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.4633, allocations: 0.6562 kB / 0.821 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.897e-05/0.4634, allocations: 8.062 kB / 0.821 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.4634, allocations: 0.5625 kB / 0.821 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.4634, allocations: 2.375 kB / 0.821 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4634, allocations: 32 / 0.821 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4634, allocations: 4.562 kB / 0.821 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.4635, allocations: 170.1 kB / 0.8212 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.192e-06/0.4635, allocations: 4.609 kB / 0.8212 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-06/0.4635, allocations: 2.75 kB / 0.8212 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.737e-05/0.4636, allocations: 5.375 kB / 0.8212 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.309e-05/0.4636, allocations: 7.734 kB / 0.8212 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.4636, allocations: 0 / 0.8212 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.872e-05/0.4636, allocations: 81.8 kB / 0.8212 GB, free: 14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.4636, allocations: 4.031 kB / 0.8213 GB, free: 14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001398/0.4638, allocations: 5.219 kB / 0.8213 GB, free: 13.99 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.0003294/0.4641, allocations: 0.6898 MB / 0.8219 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001414/0.4643, allocations: 39.73 kB / 0.822 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4643, allocations: 4.094 kB / 0.822 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.13e-05/0.4643, allocations: 18.25 kB / 0.822 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.4646, allocations: 10.81 kB / 0.822 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003351/0.4649, allocations: 138.8 kB / 0.8221 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.164e-05/0.4649, allocations: 58.58 kB / 0.8222 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.992e-05/0.465, allocations: 2.094 kB / 0.8222 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.296e-05/0.465, allocations: 10.12 kB / 0.8222 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of SimCode: time 5.41e-07/0.465, allocations: 4.062 kB / 0.8222 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01921/0.4842, allocations: 1.796 MB / 0.824 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.841/7.325, allocations: 6.109 kB / 0.824 GB, free: 12.23 MB / 0.6198 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: 10.186406439170241] Failed to read output from testmodel.py, exit status != 0: 7.40071459999308 7.413801488 6.950772076 Calling exit ...