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.00359/0.00359, 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.0008468/0.0008468, allocations: 165.9 kB / 22.42 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.8727/0.8727, allocations: 177.2 MB / 202.8 MB, free: 5.562 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.7004/0.7004, allocations: 154.7 MB / 413.9 MB, free: 0.6797 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.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.001442/0.001442, allocations: 72.95 kB / 0.6184 GB, free: 13.53 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.4646/0.466, allocations: 101.9 MB / 0.718 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001779/0.4678, allocations: 0.6764 MB / 0.7186 GB, free: 22.9 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009144/0.4687, allocations: 0.8935 MB / 0.7195 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.325e-05/0.4688, allocations: 1.188 kB / 0.7195 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.302e-05/0.4688, allocations: 3.938 kB / 0.7195 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.341e-05/0.4689, allocations: 5.594 kB / 0.7195 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000236/0.4691, allocations: 28.56 kB / 0.7195 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.4692, allocations: 38.38 kB / 0.7196 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.4694, allocations: 17.3 kB / 0.7196 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.4695, allocations: 26.14 kB / 0.7196 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.06e-05/0.4695, allocations: 21.69 kB / 0.7196 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.4696, allocations: 4.312 kB / 0.7196 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.244e-05/0.4696, allocations: 3.094 kB / 0.7196 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.625e-05/0.4696, allocations: 11.06 kB / 0.7196 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.563e-05/0.4696, allocations: 13.5 kB / 0.7197 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.4698, allocations: 49.47 kB / 0.7197 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.4698, allocations: 0 / 0.7197 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.615e-06/0.4698, allocations: 0 / 0.7197 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.4698, allocations: 1.953 kB / 0.7197 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004432/0.4702, allocations: 289.1 kB / 0.72 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.4703, allocations: 7.812 kB / 0.72 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.765e-05/0.4703, allocations: 40.84 kB / 0.72 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.794e-05/0.4703, allocations: 6.922 kB / 0.72 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.482e-05/0.4704, allocations: 110.8 kB / 0.7201 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.4704, allocations: 1.469 kB / 0.7201 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.4704, allocations: 2.859 kB / 0.7201 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.4706, allocations: 72.72 kB / 0.7202 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.4706, allocations: 4.547 kB / 0.7202 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.4707, allocations: 1.062 kB / 0.7202 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.4707, allocations: 1.031 kB / 0.7202 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/0.4708, allocations: 62.56 kB / 0.7203 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002963/0.4711, allocations: 239 kB / 0.7205 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.4713, allocations: 55.45 kB / 0.7206 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.832e-05/0.4713, allocations: 39.81 kB / 0.7206 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.4713, allocations: 1.969 kB / 0.7206 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.653e-05/0.4714, allocations: 33.38 kB / 0.7206 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.843e-06/0.4714, allocations: 0 / 0.7206 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003291/0.4717, allocations: 132.6 kB / 0.7208 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/0.4717, allocations: 56.41 kB / 0.7208 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.535e-05/0.4718, allocations: 106.9 kB / 0.7209 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.154e-06/0.4718, allocations: 26.83 kB / 0.7209 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.596e-05/0.4718, allocations: 87.44 kB / 0.721 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.4718, allocations: 14.42 kB / 0.721 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-05/0.4719, allocations: 12.66 kB / 0.721 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.285e-05/0.4719, allocations: 318.2 kB / 0.7213 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.206e-05/0.472, allocations: 35.59 kB / 0.7214 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.969e-05/0.4721, allocations: 35.2 kB / 0.7214 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.4722, allocations: 79.2 kB / 0.7215 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4722, allocations: 0 / 0.7215 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001702/0.4724, allocations: 97.91 kB / 0.7216 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.4724, allocations: 10.41 kB / 0.7216 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.4724, allocations: 0 / 0.7216 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.4724, allocations: 1.156 kB / 0.7216 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.85e-05/0.4725, allocations: 15.98 kB / 0.7216 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.4725, allocations: 0 / 0.7216 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.153e-05/0.4725, allocations: 16.16 kB / 0.7216 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.4725, allocations: 1.188 kB / 0.7216 GB, free: 20.5 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 (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 5.32e-05/0.4726, allocations: 117.6 kB / 0.7217 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.576e-05/0.4726, allocations: 5.875 kB / 0.7217 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.063e-05/0.4726, allocations: 7.078 kB / 0.7218 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4726, allocations: 0 / 0.7218 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.4727, allocations: 0.5625 kB / 0.7218 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.4727, allocations: 1.188 kB / 0.7218 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.4728, allocations: 137.8 kB / 0.7219 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.4728, allocations: 0.7969 kB / 0.7219 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.694e-05/0.4728, allocations: 23.2 kB / 0.7219 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.4728, allocations: 0.7031 kB / 0.7219 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.4728, allocations: 1.062 kB / 0.7219 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4728, allocations: 0 / 0.7219 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.4728, allocations: 5.797 kB / 0.7219 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.473, allocations: 198.5 kB / 0.7221 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-06/0.4731, allocations: 5.672 kB / 0.7221 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.4731, allocations: 5.625 kB / 0.7221 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.458e-05/0.4731, allocations: 11.98 kB / 0.7221 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.4732, allocations: 8.031 kB / 0.7221 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.4732, allocations: 1.188 kB / 0.7221 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.751e-05/0.4732, allocations: 84.75 kB / 0.7222 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4732, allocations: 0 / 0.7222 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001463/0.4733, allocations: 11.06 kB / 0.7222 GB, free: 19.95 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 (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.0003441/0.4737, allocations: 0.73 MB / 0.7229 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002059/0.4739, allocations: 66.86 kB / 0.723 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4739, allocations: 0 / 0.723 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.836e-05/0.474, allocations: 43.16 kB / 0.723 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.4742, allocations: 11.72 kB / 0.7231 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003523/0.4746, allocations: 158.7 kB / 0.7232 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.834e-05/0.4746, allocations: 63.06 kB / 0.7233 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.006e-05/0.4746, allocations: 6.953 kB / 0.7233 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.868e-05/0.4747, allocations: 15.94 kB / 0.7233 GB, free: 19 MB / 0.6355 GB Notification: Performance of SimCode: time 5.71e-07/0.4747, allocations: 0 / 0.7233 GB, free: 19 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01649/0.4912, allocations: 2.358 MB / 0.7256 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.529/7.021, allocations: 6.781 kB / 0.7256 GB, free: 18.09 MB / 0.6355 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: 9.724888835917227] Failed to read output from testmodel.py, exit status != 0: 7.098904361948371 7.106428005 6.634943376 Calling exit ...