Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.0009587/0.0009587, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001239/0.001239, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9184/0.9184, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7407/0.7407, allocations: 154.5 MB / 413.7 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.Sources.Validation.Constant,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.765e-06/2.765e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.321e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001167/0.00119, allocations: 0.5786 MB / 0.6186 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 3.907e-05/0.001229, allocations: 0 / 0.6186 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.248e-05/0.001251, allocations: 0 / 0.6186 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.472e-05/0.001276, allocations: 3.938 kB / 0.6187 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.42e-05/0.0013, allocations: 0 / 0.6187 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 2.641e-05/0.001327, allocations: 4 kB / 0.6187 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.957e-05/0.001376, allocations: 4 kB / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.182e-05/0.001418, allocations: 3.938 kB / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.814e-05/0.001446, allocations: 4 kB / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.078e-05/0.001467, allocations: 0 / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.001485, allocations: 0 / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.175e-06/0.001488, allocations: 4 kB / 0.6187 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.089e-05/0.001499, allocations: 0 / 0.6187 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.476e-05/0.001514, allocations: 0 / 0.6187 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 5.279e-05/0.001567, allocations: 3.984 kB / 0.6187 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.001568, allocations: 0 / 0.6187 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.41e-07/0.001569, allocations: 4 kB / 0.6187 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.001573, allocations: 0 / 0.6187 GB, free: 13.07 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.0002119/0.001785, allocations: 234.5 kB / 0.6189 GB, free: 12.81 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.001821, allocations: 9.469 kB / 0.6189 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.603e-05/0.001847, allocations: 30.75 kB / 0.6189 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.761e-05/0.001865, allocations: 4.922 kB / 0.6189 GB, free: 12.76 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.627e-05/0.001931, allocations: 109.8 kB / 0.619 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.001941, allocations: 4.375 kB / 0.6191 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.951e-06/0.001947, allocations: 384 / 0.6191 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.841e-05/0.002015, allocations: 30.2 kB / 0.6191 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.002022, allocations: 4.188 kB / 0.6191 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-06/0.002029, allocations: 384 / 0.6191 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.002035, allocations: 8.109 kB / 0.6191 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.346e-05/0.002048, allocations: 0 / 0.6191 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002266/0.002275, allocations: 350.6 kB / 0.6194 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.114e-05/0.002336, allocations: 173.1 kB / 0.6196 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.539e-05/0.002362, allocations: 92.08 kB / 0.6197 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.002381, allocations: 75.28 kB / 0.6198 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.002415, allocations: 109.8 kB / 0.6199 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.002416, allocations: 0 / 0.6199 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 4.907e-05/0.002465, allocations: 29.7 kB / 0.6199 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.002503, allocations: 126.7 kB / 0.62 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.861e-05/0.002562, allocations: 101.8 kB / 0.6201 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.002571, allocations: 29.64 kB / 0.6201 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.942e-05/0.00259, allocations: 80.14 kB / 0.6202 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.724e-06/0.002592, allocations: 3.938 kB / 0.6202 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.656e-05/0.002609, allocations: 17.84 kB / 0.6202 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.163e-05/0.00268, allocations: 310.8 kB / 0.6205 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.837e-06/0.002684, allocations: 0 / 0.6205 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.695e-06/0.002687, allocations: 0 / 0.6205 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.92e-05/0.002706, allocations: 75.28 kB / 0.6206 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.961e-05/0.002726, allocations: 75.28 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.11e-05/0.002757, allocations: 33.64 kB / 0.6207 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.002782, allocations: 79.28 kB / 0.6208 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/0.002803, allocations: 87.2 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.988e-05/0.002843, allocations: 154.6 kB / 0.621 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.647e-05/0.002859, allocations: 75.28 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.304e-05/0.002892, allocations: 162.5 kB / 0.6212 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.097e-05/0.002933, allocations: 75.28 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.00295, allocations: 79.22 kB / 0.6214 GB, free: 10.1 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.206e-05/0.003022, allocations: 265.3 kB / 0.6216 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.497e-05/0.003057, allocations: 116.9 kB / 0.6217 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.334e-05/0.00309, allocations: 108.2 kB / 0.6218 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.093e-05/0.003131, allocations: 184.4 kB / 0.622 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4e-05/0.003171, allocations: 176.3 kB / 0.6222 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.062e-05/0.003212, allocations: 184.2 kB / 0.6224 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.003353, allocations: 376.3 kB / 0.6227 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.212e-05/0.003375, allocations: 105 kB / 0.6228 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.328e-05/0.003398, allocations: 108.9 kB / 0.6229 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.748e-05/0.003436, allocations: 180.2 kB / 0.6231 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.067e-05/0.003476, allocations: 184.2 kB / 0.6233 GB, free: 8.023 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.672e-05/0.003513, allocations: 180.3 kB / 0.6235 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-05/0.003551, allocations: 188.1 kB / 0.6236 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.874e-05/0.00364, allocations: 299.8 kB / 0.6239 GB, free: 7.332 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.04e-05/0.00367, allocations: 112.9 kB / 0.624 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.926e-05/0.00372, allocations: 180.3 kB / 0.6242 GB, free: 7.031 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.628e-05/0.003766, allocations: 112.9 kB / 0.6243 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.00381, allocations: 184.3 kB / 0.6245 GB, free: 6.727 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.003834, allocations: 105 kB / 0.6246 GB, free: 6.617 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.587e-05/0.00386, allocations: 79.28 kB / 0.6247 GB, free: 6.539 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.00386, allocations: 0 / 0.6247 GB, free: 6.539 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001553/0.004016, allocations: 0 / 0.6247 GB, free: 6.539 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.0002445/0.00426, allocations: 0.8087 MB / 0.6254 GB, free: 5.703 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 3.86e-05/0.004299, allocations: 0 / 0.6254 GB, free: 5.703 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.0043, allocations: 0 / 0.6254 GB, free: 5.703 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.11e-07/0.004301, allocations: 3.938 kB / 0.6254 GB, free: 5.699 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.004533, allocations: 463.7 kB / 0.6259 GB, free: 5.242 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007129/0.005246, allocations: 1.532 MB / 0.6274 GB, free: 3.633 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.771e-05/0.005284, allocations: 55.36 kB / 0.6274 GB, free: 3.559 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.342e-06/0.00529, allocations: 0 / 0.6274 GB, free: 3.559 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.047e-05/0.00531, allocations: 8.5 kB / 0.6274 GB, free: 3.551 MB / 0.5886 GB Notification: Performance of SimCode: time 5.41e-07/0.005311, allocations: 0 / 0.6274 GB, free: 3.551 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01368/0.01899, allocations: 1.545 MB / 0.629 GB, free: 2.137 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.748/6.767, allocations: 3.75 kB / 0.629 GB, free: 2.137 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Constant.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.564776497893035] Failed to read output from testmodel.py, exit status != 0: 6.851313671097159 6.860290993 6.857029923 Calling exit ...