Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.0009458/0.0009458, 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.0009346/0.0009346, 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.8762/0.8762, allocations: 177.2 MB / 202.8 MB, free: 5.773 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.7009/0.7009, 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.Integers.Sources.Validation.Constant,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_Constant",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.0009191/0.0009191, allocations: 60.69 kB / 0.6183 GB, free: 13.61 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.4252/0.4261, allocations: 101.9 MB / 0.7179 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001244/0.4274, allocations: 0.544 MB / 0.7184 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 3.906e-05/0.4274, allocations: 1.156 kB / 0.7184 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.687e-05/0.4274, allocations: 3.938 kB / 0.7184 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.552e-05/0.4274, allocations: 1.062 kB / 0.7184 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 2.65e-05/0.4275, allocations: 4 kB / 0.7184 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 2.929e-05/0.4275, allocations: 0 / 0.7184 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 4.961e-05/0.4275, allocations: 2.672 kB / 0.7184 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.163e-05/0.4276, allocations: 10.3 kB / 0.7184 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 2.916e-05/0.4276, allocations: 1.094 kB / 0.7184 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 1.734e-05/0.4276, allocations: 0.6562 kB / 0.7184 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.4277, allocations: 0 / 0.7184 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 3.657e-06/0.4277, allocations: 5.031 kB / 0.7184 GB, free: 22.83 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.4277, allocations: 3.938 kB / 0.7184 GB, free: 22.83 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.738e-05/0.4277, allocations: 1.312 kB / 0.7184 GB, free: 22.83 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 5.33e-05/0.4277, allocations: 5.5 kB / 0.7184 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.4278, allocations: 1.469 kB / 0.7184 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.564e-06/0.4278, allocations: 0 / 0.7184 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.4278, allocations: 0.6562 kB / 0.7184 GB, free: 22.82 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.0001862/0.4279, allocations: 241.1 kB / 0.7187 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.428, allocations: 8.438 kB / 0.7187 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.984e-05/0.428, allocations: 32.48 kB / 0.7187 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.744e-05/0.428, allocations: 0.9375 kB / 0.7187 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.313e-05/0.4281, allocations: 104.7 kB / 0.7188 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-06/0.4281, allocations: 1.625 kB / 0.7188 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.4281, allocations: 0.8906 kB / 0.7188 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.143e-05/0.4282, allocations: 33.62 kB / 0.7188 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.4282, allocations: 3.938 kB / 0.7189 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.4282, allocations: 1.094 kB / 0.7189 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.4282, allocations: 0 / 0.7189 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.85e-05/0.4282, allocations: 5.062 kB / 0.7189 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001855/0.4284, allocations: 354.2 kB / 0.7192 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.11e-05/0.4284, allocations: 176.1 kB / 0.7194 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.276e-05/0.4284, allocations: 80.14 kB / 0.7194 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.4285, allocations: 80.41 kB / 0.7195 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.524e-05/0.4285, allocations: 112 kB / 0.7196 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.4285, allocations: 4 kB / 0.7196 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 4.768e-05/0.4285, allocations: 27.73 kB / 0.7197 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.4285, allocations: 128.7 kB / 0.7198 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.517e-05/0.4286, allocations: 97.56 kB / 0.7199 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.067e-06/0.4286, allocations: 25.7 kB / 0.7199 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.085e-05/0.4286, allocations: 82.22 kB / 0.72 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/0.4286, allocations: 0 / 0.72 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.137e-05/0.4286, allocations: 11.06 kB / 0.72 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.99e-05/0.4286, allocations: 317.3 kB / 0.7203 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.338e-06/0.4286, allocations: 4.062 kB / 0.7203 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.595e-06/0.4286, allocations: 5.094 kB / 0.7203 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.047e-06/0.4287, allocations: 80.44 kB / 0.7204 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.4287, allocations: 79.22 kB / 0.7204 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 2.355e-05/0.4287, allocations: 29.2 kB / 0.7205 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.4287, allocations: 80.56 kB / 0.7206 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.4287, allocations: 80.78 kB / 0.7206 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.4287, allocations: 157.4 kB / 0.7208 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.801e-06/0.4287, allocations: 76.28 kB / 0.7209 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.4288, allocations: 156.1 kB / 0.721 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.061e-05/0.4288, allocations: 76.88 kB / 0.7211 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-06/0.4288, allocations: 81.7 kB / 0.7212 GB, free: 19.92 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 (0): * Single equations (assignments): 0 * 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.913e-05/0.4288, allocations: 267.1 kB / 0.7214 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.913e-05/0.4288, allocations: 110.6 kB / 0.7215 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.703e-05/0.4289, allocations: 110.5 kB / 0.7216 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/0.4289, allocations: 183.3 kB / 0.7218 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-05/0.4289, allocations: 178 kB / 0.722 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.467e-05/0.4289, allocations: 179.2 kB / 0.7221 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.376e-05/0.429, allocations: 385.1 kB / 0.7225 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/0.429, allocations: 103.6 kB / 0.7226 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.395e-06/0.429, allocations: 106.1 kB / 0.7227 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.449e-05/0.429, allocations: 185.3 kB / 0.7229 GB, free: 18.06 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.429, allocations: 179.6 kB / 0.723 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.397e-05/0.429, allocations: 186 kB / 0.7232 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.418e-05/0.4291, allocations: 178 kB / 0.7234 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.795e-05/0.4291, allocations: 310.8 kB / 0.7237 GB, free: 17.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.407e-05/0.4291, allocations: 115.8 kB / 0.7238 GB, free: 17.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.4291, allocations: 183.8 kB / 0.724 GB, free: 16.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.744e-05/0.4292, allocations: 102.7 kB / 0.7241 GB, free: 16.79 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.791e-05/0.4292, allocations: 182 kB / 0.7242 GB, free: 16.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.924e-06/0.4292, allocations: 102.5 kB / 0.7243 GB, free: 16.5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.482e-05/0.4292, allocations: 86.25 kB / 0.7244 GB, free: 16.42 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4292, allocations: 1.281 kB / 0.7244 GB, free: 16.42 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001473/0.4294, allocations: 0 / 0.7244 GB, free: 16.42 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 (0): * Single equations (assignments): 0 * 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.0001271/0.4295, allocations: 0.8026 MB / 0.7252 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 2.938e-05/0.4295, allocations: 6.281 kB / 0.7252 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.4295, allocations: 0 / 0.7252 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.52e-07/0.4295, allocations: 0 / 0.7252 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.4297, allocations: 458 kB / 0.7257 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000448/0.4301, allocations: 1.538 MB / 0.7272 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.484e-05/0.4302, allocations: 56.52 kB / 0.7272 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.572e-06/0.4302, allocations: 0 / 0.7272 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.119e-05/0.4302, allocations: 13.19 kB / 0.7272 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of SimCode: time 3.31e-07/0.4302, allocations: 1.406 kB / 0.7272 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01314/0.4433, allocations: 1.525 MB / 0.7287 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.541/6.984, allocations: 1.406 kB / 0.7287 GB, free: 12.64 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant_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_Integers_Sources_Validation_Constant.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.66479990305379] Failed to read output from testmodel.py, exit status != 0: 7.059717342955992 7.071407387 6.641737108 Calling exit ...