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.0008313/0.0008313, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008576/0.0008576, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8749/0.8749, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.7193/0.7193, allocations: 154.6 MB / 413.8 MB, free: 0.8047 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: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.6181 GB, free: 13.53 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.374e-05/1.564e-05, allocations: 7.859 kB / 0.6181 GB, free: 13.53 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001145/0.001161, allocations: 0.5308 MB / 0.6186 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 3.761e-05/0.001199, allocations: 4 kB / 0.6186 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.253e-05/0.001221, allocations: 0 / 0.6186 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.465e-05/0.001246, allocations: 0 / 0.6186 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.519e-05/0.001271, allocations: 0 / 0.6186 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 2.678e-05/0.001298, allocations: 4 kB / 0.6186 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.376e-05/0.001351, allocations: 4 kB / 0.6186 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.095e-05/0.001392, allocations: 0 / 0.6186 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.783e-05/0.00142, allocations: 3.984 kB / 0.6186 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 1.897e-05/0.001439, allocations: 11.88 kB / 0.6187 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.001458, allocations: 0 / 0.6187 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.677e-06/0.001461, allocations: 0 / 0.6187 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.156e-05/0.001473, allocations: 0 / 0.6187 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.639e-05/0.001489, allocations: 0 / 0.6187 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 5.235e-05/0.001542, allocations: 4 kB / 0.6187 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.001543, allocations: 0 / 0.6187 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.793e-06/0.001545, allocations: 4 kB / 0.6187 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.516e-06/0.001549, allocations: 7.938 kB / 0.6187 GB, free: 12.95 MB / 0.5886 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.0002316/0.00178, allocations: 234.5 kB / 0.6189 GB, free: 12.69 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.001817, allocations: 8.031 kB / 0.6189 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.624e-05/0.001843, allocations: 30.75 kB / 0.6189 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.666e-05/0.001859, allocations: 4.938 kB / 0.6189 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.04e-05/0.00193, allocations: 105.8 kB / 0.619 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.001939, allocations: 384 / 0.619 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-06/0.001947, allocations: 4.375 kB / 0.619 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.584e-05/0.002013, allocations: 26.27 kB / 0.6191 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.00202, allocations: 4.188 kB / 0.6191 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.002027, allocations: 4.375 kB / 0.6191 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.002032, allocations: 4.125 kB / 0.6191 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.447e-05/0.002047, allocations: 0 / 0.6191 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002363/0.002283, allocations: 354.5 kB / 0.6194 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.866e-05/0.002341, allocations: 169.2 kB / 0.6196 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.315e-05/0.002365, allocations: 80.14 kB / 0.6197 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.002384, allocations: 75.28 kB / 0.6197 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.002414, allocations: 109.8 kB / 0.6198 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 6.12e-07/0.002415, allocations: 0 / 0.6198 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 4.981e-05/0.002465, allocations: 37.62 kB / 0.6199 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.002506, allocations: 134.6 kB / 0.62 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.271e-05/0.002568, allocations: 97.86 kB / 0.6201 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.002579, allocations: 25.7 kB / 0.6201 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.559e-05/0.002604, allocations: 80.14 kB / 0.6202 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-06/0.002606, allocations: 0 / 0.6202 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-05/0.002627, allocations: 13.72 kB / 0.6202 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.63e-05/0.002713, allocations: 314.8 kB / 0.6205 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.268e-06/0.002717, allocations: 0 / 0.6205 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.367e-06/0.002721, allocations: 0 / 0.6205 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.039e-05/0.002741, allocations: 75.28 kB / 0.6206 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-05/0.002759, allocations: 79.27 kB / 0.6207 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.349e-05/0.002793, allocations: 45.69 kB / 0.6207 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.00282, allocations: 79.28 kB / 0.6208 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/0.00284, allocations: 79.28 kB / 0.6208 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.336e-05/0.002883, allocations: 158.4 kB / 0.621 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.515e-05/0.002898, allocations: 75.28 kB / 0.6211 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-05/0.00293, allocations: 154.6 kB / 0.6212 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.167e-05/0.002972, allocations: 79.22 kB / 0.6213 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.00299, allocations: 83.27 kB / 0.6214 GB, free: 9.98 MB / 0.5886 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 7.392e-05/0.003064, allocations: 265.3 kB / 0.6216 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002735/0.003337, allocations: 112.8 kB / 0.6217 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.119e-05/0.003369, allocations: 112.2 kB / 0.6218 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.628e-05/0.003405, allocations: 180.5 kB / 0.622 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.014e-05/0.003445, allocations: 188.2 kB / 0.6222 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.299e-05/0.003488, allocations: 180.3 kB / 0.6224 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.003619, allocations: 376.2 kB / 0.6227 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.102e-05/0.00364, allocations: 101 kB / 0.6228 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.388e-05/0.003664, allocations: 109 kB / 0.6229 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.371e-05/0.003707, allocations: 188.1 kB / 0.6231 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.74e-05/0.003745, allocations: 176.3 kB / 0.6233 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.756e-05/0.003782, allocations: 184.2 kB / 0.6234 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.448e-05/0.003817, allocations: 180.3 kB / 0.6236 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.204e-05/0.003899, allocations: 311.8 kB / 0.6239 GB, free: 7.211 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.014e-05/0.003929, allocations: 108.9 kB / 0.624 GB, free: 7.098 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.391e-05/0.003973, allocations: 180.2 kB / 0.6242 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.408e-05/0.004017, allocations: 109 kB / 0.6243 GB, free: 6.801 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.004058, allocations: 184.2 kB / 0.6245 GB, free: 6.613 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/0.00408, allocations: 104.9 kB / 0.6246 GB, free: 6.504 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.589e-05/0.004106, allocations: 83.28 kB / 0.6247 GB, free: 6.422 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.004106, allocations: 0 / 0.6247 GB, free: 6.422 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001554/0.004262, allocations: 0 / 0.6247 GB, free: 6.422 MB / 0.5886 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.0002393/0.004501, allocations: 0.8049 MB / 0.6254 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 3.014e-05/0.004531, allocations: 3.938 kB / 0.6254 GB, free: 5.586 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.004533, allocations: 0 / 0.6254 GB, free: 5.586 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.004534, allocations: 0 / 0.6254 GB, free: 5.586 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.004768, allocations: 461.7 kB / 0.6259 GB, free: 5.133 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006535/0.005421, allocations: 1.517 MB / 0.6274 GB, free: 3.535 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.489e-05/0.005456, allocations: 55.36 kB / 0.6274 GB, free: 3.461 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.002e-06/0.005462, allocations: 0 / 0.6274 GB, free: 3.461 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.108e-05/0.005483, allocations: 12.59 kB / 0.6274 GB, free: 3.445 MB / 0.5886 GB Notification: Performance of SimCode: time 5.81e-07/0.005484, allocations: 0 / 0.6274 GB, free: 3.445 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01286/0.01835, allocations: 1.543 MB / 0.6289 GB, free: 2.031 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.001/7.02, allocations: 5.938 kB / 0.6289 GB, free: 2.031 MB / 0.5886 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.771947931498289] Failed to read output from testmodel.py, exit status != 0: 7.099650324322283 7.110168066 7.10589919 Calling exit ...