Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.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.001092/0.001092, allocations: 105.5 kB / 18.95 MB, free: 1.176 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.0008611/0.0008611, allocations: 209.2 kB / 22.24 MB, free: 3.715 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.9136/0.9136, allocations: 230.6 MB / 256 MB, free: 9.602 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.7573/0.7573, allocations: 203.5 MB / 0.5039 GB, free: 10.71 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.Modulo,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Modulo",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.0008525/0.0008525, allocations: 71.14 kB / 0.7178 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4505/0.4513, allocations: 102 MB / 0.8174 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001679/0.453, allocations: 0.6878 MB / 0.8181 GB, free: 0.8125 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008305/0.4539, allocations: 0.885 MB / 0.819 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.818e-05/0.4539, allocations: 2.25 kB / 0.819 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.254e-05/0.4539, allocations: 4.547 kB / 0.819 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.673e-05/0.454, allocations: 12.59 kB / 0.819 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.4542, allocations: 17.19 kB / 0.819 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.22e-05/0.4543, allocations: 52.2 kB / 0.819 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.4544, allocations: 3.547 kB / 0.819 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.629e-05/0.4545, allocations: 22.91 kB / 0.8191 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.865e-05/0.4545, allocations: 18.94 kB / 0.8191 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.4545, allocations: 3.094 kB / 0.8191 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.045e-05/0.4545, allocations: 3.625 kB / 0.8191 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.008e-05/0.4546, allocations: 9.812 kB / 0.8191 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.877e-05/0.4546, allocations: 14.02 kB / 0.8191 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.4547, allocations: 49.48 kB / 0.8192 GB, free: 48 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4547, allocations: 0 / 0.8192 GB, free: 48 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.943e-06/0.4547, allocations: 0 / 0.8192 GB, free: 48 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.4547, allocations: 0 / 0.8192 GB, free: 48 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004655/0.4552, allocations: 291.7 kB / 0.8194 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.4552, allocations: 8.375 kB / 0.8195 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.319e-05/0.4552, allocations: 35.11 kB / 0.8195 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.59e-05/0.4553, allocations: 4.891 kB / 0.8195 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.703e-05/0.4554, allocations: 116 kB / 0.8196 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.4554, allocations: 4.375 kB / 0.8196 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.4554, allocations: 11.55 kB / 0.8196 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.4556, allocations: 65.28 kB / 0.8197 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.4556, allocations: 4.547 kB / 0.8197 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.4556, allocations: 4 kB / 0.8197 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.4556, allocations: 0 / 0.8197 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.4557, allocations: 67.09 kB / 0.8197 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003573/0.4561, allocations: 238.4 kB / 0.82 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.4562, allocations: 49.67 kB / 0.82 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.16e-05/0.4563, allocations: 41.12 kB / 0.8201 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.4564, allocations: 0.7031 kB / 0.8201 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.4564, allocations: 34.34 kB / 0.8201 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.4564, allocations: 0 / 0.8201 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0004229/0.4568, allocations: 133.8 kB / 0.8202 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.4568, allocations: 52.11 kB / 0.8203 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.218e-05/0.4569, allocations: 106.6 kB / 0.8204 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.457, allocations: 25.7 kB / 0.8204 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.366e-05/0.457, allocations: 92.52 kB / 0.8205 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.457, allocations: 12.61 kB / 0.8205 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.4571, allocations: 17.2 kB / 0.8205 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.4572, allocations: 315.2 kB / 0.8208 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.052e-05/0.4573, allocations: 30.56 kB / 0.8208 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.461e-05/0.4573, allocations: 35.44 kB / 0.8209 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.4575, allocations: 74.3 kB / 0.821 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4575, allocations: 0 / 0.821 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002057/0.4577, allocations: 104 kB / 0.821 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.4578, allocations: 5.594 kB / 0.8211 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.4578, allocations: 0 / 0.8211 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.4578, allocations: 0 / 0.8211 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.4579, allocations: 21.03 kB / 0.8211 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.4579, allocations: 320 / 0.8211 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.252e-05/0.4579, allocations: 17.53 kB / 0.8211 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.4579, allocations: 0 / 0.8211 GB, free: 14.43 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 (3): * Single equations (assignments): 3 * 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 6.139e-05/0.458, allocations: 115.2 kB / 0.8212 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.318e-05/0.458, allocations: 8.688 kB / 0.8212 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.009e-05/0.458, allocations: 8.609 kB / 0.8212 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.4581, allocations: 0 / 0.8212 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.4581, allocations: 7.031 kB / 0.8212 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4581, allocations: 4 kB / 0.8212 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/0.4582, allocations: 133.7 kB / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.4582, allocations: 0 / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.579e-05/0.4582, allocations: 15.38 kB / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.4582, allocations: 3.938 kB / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.4582, allocations: 6.812 kB / 0.8214 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.12e-07/0.4582, allocations: 0 / 0.8214 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4582, allocations: 3.984 kB / 0.8214 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.4584, allocations: 195.6 kB / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.814e-06/0.4584, allocations: 5.781 kB / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.4585, allocations: 1 kB / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.376e-05/0.4585, allocations: 17.86 kB / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.4586, allocations: 2.578 kB / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.4586, allocations: 3.5 kB / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.266e-05/0.4586, allocations: 85.22 kB / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4586, allocations: 0 / 0.8217 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001474/0.4587, allocations: 6.594 kB / 0.8217 GB, free: 13.88 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 (3): * Single equations (assignments): 3 * 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.0004142/0.4592, allocations: 0.7315 MB / 0.8224 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002113/0.4594, allocations: 66.8 kB / 0.8225 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.4594, allocations: 4 kB / 0.8225 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.098e-05/0.4594, allocations: 39.52 kB / 0.8225 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.4597, allocations: 9.797 kB / 0.8225 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003479/0.46, allocations: 155.5 kB / 0.8227 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.295e-05/0.4601, allocations: 63.91 kB / 0.8227 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.387e-05/0.4601, allocations: 7.141 kB / 0.8227 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.715e-05/0.4601, allocations: 17.02 kB / 0.8227 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of SimCode: time 3.6e-07/0.4601, allocations: 0 / 0.8227 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01439/0.4745, allocations: 2.239 MB / 0.8249 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.856/7.33, allocations: 7.219 kB / 0.8249 GB, free: 12.05 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo_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_Modulo.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.173760295379907] Failed to read output from testmodel.py, exit status != 0: 7.408867192920297 7.421308891 6.964493341 Calling exit ...