Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.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.0007579/0.0007579, 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.001112/0.001112, allocations: 165.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.9573/0.9573, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7536/0.7536, allocations: 154.6 MB / 413.7 MB, free: 0.8281 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.Logical.Sources.Validation.Constant,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.719e-06/4.719e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.181e-05/3.653e-05, allocations: 6.281 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002203/0.002239, allocations: 0.5411 MB / 0.6186 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 5.524e-05/0.002294, allocations: 0 / 0.6186 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.832e-05/0.002333, allocations: 0 / 0.6186 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.547e-05/0.002368, allocations: 0 / 0.6186 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.488e-05/0.002403, allocations: 0 / 0.6186 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 4.156e-05/0.002445, allocations: 0 / 0.6186 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.62e-05/0.002531, allocations: 11.94 kB / 0.6186 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.262e-05/0.002603, allocations: 3.984 kB / 0.6186 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.075e-05/0.002644, allocations: 4 kB / 0.6186 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.405e-05/0.002668, allocations: 0 / 0.6186 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.769e-05/0.002696, allocations: 0 / 0.6186 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.86e-06/0.002701, allocations: 0 / 0.6186 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.794e-05/0.002719, allocations: 4 kB / 0.6186 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.304e-05/0.002742, allocations: 0 / 0.6186 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.907e-05/0.002831, allocations: 0 / 0.6186 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.002834, allocations: 0 / 0.6186 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.903e-06/0.002836, allocations: 0 / 0.6186 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.002843, allocations: 0 / 0.6186 GB, free: 13.11 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.0003834/0.003226, allocations: 242.4 kB / 0.6188 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.934e-05/0.003295, allocations: 21.41 kB / 0.6189 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.298e-05/0.003338, allocations: 30.75 kB / 0.6189 GB, free: 12.78 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.66e-05/0.003365, allocations: 0.9375 kB / 0.6189 GB, free: 12.78 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.003482, allocations: 101.8 kB / 0.619 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.003496, allocations: 384 / 0.619 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.003507, allocations: 4.375 kB / 0.619 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.00362, allocations: 26.27 kB / 0.619 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.003631, allocations: 192 / 0.619 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.003641, allocations: 384 / 0.619 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.003649, allocations: 4.125 kB / 0.619 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.3e-05/0.003672, allocations: 15.92 kB / 0.619 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003883/0.00406, allocations: 350.6 kB / 0.6194 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.004175, allocations: 169.1 kB / 0.6195 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.154e-05/0.004216, allocations: 80.14 kB / 0.6196 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-05/0.004248, allocations: 83.27 kB / 0.6197 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.123e-05/0.0043, allocations: 113.8 kB / 0.6198 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 1.322e-06/0.004301, allocations: 0 / 0.6198 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 9.298e-05/0.004394, allocations: 29.64 kB / 0.6198 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.593e-05/0.00447, allocations: 130.7 kB / 0.62 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.004581, allocations: 93.86 kB / 0.62 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.004597, allocations: 37.77 kB / 0.6201 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.285e-05/0.00464, allocations: 80.14 kB / 0.6202 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-06/0.004642, allocations: 0 / 0.6202 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.578e-05/0.004668, allocations: 9.719 kB / 0.6202 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.004802, allocations: 314.8 kB / 0.6205 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.354e-06/0.004809, allocations: 4 kB / 0.6205 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.509e-06/0.004814, allocations: 0 / 0.6205 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.979e-05/0.004843, allocations: 75.28 kB / 0.6205 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.637e-05/0.00487, allocations: 75.28 kB / 0.6206 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.387e-05/0.004934, allocations: 37.58 kB / 0.6207 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4e-05/0.004974, allocations: 79.28 kB / 0.6207 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.66e-05/0.005, allocations: 79.28 kB / 0.6208 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.651e-05/0.005067, allocations: 158.6 kB / 0.621 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.925e-05/0.005096, allocations: 79.22 kB / 0.621 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.416e-05/0.00515, allocations: 150.6 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.08e-05/0.005221, allocations: 83.2 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/0.005251, allocations: 79.28 kB / 0.6213 GB, free: 10.12 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 0.0001329/0.005384, allocations: 257.4 kB / 0.6216 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.944e-05/0.005454, allocations: 120.8 kB / 0.6217 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.593e-05/0.00551, allocations: 108.2 kB / 0.6218 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.067e-05/0.00558, allocations: 180.5 kB / 0.622 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.361e-05/0.005654, allocations: 188.2 kB / 0.6221 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.446e-05/0.005718, allocations: 180.3 kB / 0.6223 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.005951, allocations: 376.2 kB / 0.6227 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.295e-05/0.005993, allocations: 105 kB / 0.6228 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.13e-05/0.006035, allocations: 101 kB / 0.6229 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.739e-05/0.006112, allocations: 192.1 kB / 0.6231 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.557e-05/0.006188, allocations: 180.3 kB / 0.6232 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-05/0.006259, allocations: 180.2 kB / 0.6234 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.118e-05/0.00634, allocations: 188.2 kB / 0.6236 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.006494, allocations: 299.8 kB / 0.6239 GB, free: 7.359 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.965e-05/0.006543, allocations: 108.9 kB / 0.624 GB, free: 7.246 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.189e-05/0.006625, allocations: 188.2 kB / 0.6241 GB, free: 7.055 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.881e-05/0.006694, allocations: 109 kB / 0.6243 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.329e-05/0.006757, allocations: 176.3 kB / 0.6244 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-05/0.006793, allocations: 108.9 kB / 0.6245 GB, free: 6.648 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.659e-05/0.00684, allocations: 75.28 kB / 0.6246 GB, free: 6.574 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.00684, allocations: 0 / 0.6246 GB, free: 6.574 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002517/0.007092, allocations: 4 kB / 0.6246 GB, free: 6.57 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.000396/0.007488, allocations: 0.8009 MB / 0.6254 GB, free: 5.742 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 5.454e-05/0.007542, allocations: 8.031 kB / 0.6254 GB, free: 5.734 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.007545, allocations: 4 kB / 0.6254 GB, free: 5.73 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.007546, allocations: 3.938 kB / 0.6254 GB, free: 5.727 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.007913, allocations: 451.7 kB / 0.6258 GB, free: 5.281 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.00907, allocations: 1.533 MB / 0.6273 GB, free: 3.668 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.972e-05/0.00913, allocations: 55.34 kB / 0.6274 GB, free: 3.594 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.079e-05/0.009141, allocations: 0 / 0.6274 GB, free: 3.594 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.75e-05/0.009178, allocations: 12.5 kB / 0.6274 GB, free: 3.578 MB / 0.5886 GB Notification: Performance of SimCode: time 1.062e-06/0.009179, allocations: 0 / 0.6274 GB, free: 3.578 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01764/0.02682, allocations: 1.544 MB / 0.6289 GB, free: 2.172 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.801/6.828, allocations: 5.656 kB / 0.6289 GB, free: 2.172 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.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_Logical_Sources_Validation_Constant.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.758114797063172] Failed to read output from testmodel.py, exit status != 0: 6.910345512442291 6.921926657 6.9163821930000005 Calling exit ...