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.0006737/0.0006737, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0007794/0.0007794, allocations: 221.7 kB / 22.26 MB, free: 3.688 MB / 13.93 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.9706/0.9706, allocations: 230.6 MB / 256 MB, free: 9.805 MB / 202.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.8016/0.8016, allocations: 203.8 MB / 0.5042 GB, free: 10.72 MB / 410.7 MB " [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: 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.0009814/0.0009814, allocations: 69.14 kB / 0.7183 GB, free: 4.293 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5104/0.5114, allocations: 102 MB / 0.8179 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001562/0.513, allocations: 0.5468 MB / 0.8184 GB, free: 0.9062 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 4.437e-05/0.513, allocations: 2.562 kB / 0.8184 GB, free: 0.9062 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.495e-05/0.5131, allocations: 0 / 0.8184 GB, free: 0.9062 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.809e-05/0.5131, allocations: 0 / 0.8184 GB, free: 0.9062 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.1e-05/0.5131, allocations: 0 / 0.8184 GB, free: 0.9062 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.862e-05/0.5132, allocations: 1.172 kB / 0.8184 GB, free: 0.9062 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.808e-05/0.5132, allocations: 10.28 kB / 0.8184 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.734e-05/0.5133, allocations: 3.219 kB / 0.8184 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.427e-05/0.5133, allocations: 1.594 kB / 0.8184 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.543e-05/0.5134, allocations: 0 / 0.8184 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.5134, allocations: 0 / 0.8184 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.176e-06/0.5134, allocations: 3.938 kB / 0.8184 GB, free: 0.8945 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.5134, allocations: 5.656 kB / 0.8184 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.593e-05/0.5134, allocations: 0 / 0.8184 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.677e-05/0.5135, allocations: 6.297 kB / 0.8184 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.647e-06/0.5135, allocations: 0.8906 kB / 0.8184 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.467e-06/0.5135, allocations: 0 / 0.8184 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.5135, allocations: 4 kB / 0.8184 GB, free: 0.8828 MB / 0.6042 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.0002711/0.5138, allocations: 245.1 kB / 0.8187 GB, free: 0.6211 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.5139, allocations: 9.188 kB / 0.8187 GB, free: 0.6211 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.63e-05/0.5139, allocations: 34.75 kB / 0.8187 GB, free: 0.5781 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.228e-05/0.5139, allocations: 1.734 kB / 0.8187 GB, free: 0.5781 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.423e-05/0.514, allocations: 106.5 kB / 0.8188 GB, free: 464 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.514, allocations: 384 / 0.8188 GB, free: 464 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.514, allocations: 384 / 0.8188 GB, free: 464 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.651e-05/0.5141, allocations: 36.45 kB / 0.8189 GB, free: 424 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.5141, allocations: 5.938 kB / 0.8189 GB, free: 420 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-06/0.5141, allocations: 0 / 0.8189 GB, free: 420 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.5141, allocations: 4.734 kB / 0.8189 GB, free: 416 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.661e-05/0.5142, allocations: 6.25 kB / 0.8189 GB, free: 412 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002497/0.5144, allocations: 348.7 kB / 0.8192 GB, free: 24 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.997e-05/0.5145, allocations: 175.4 kB / 0.8194 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.997e-05/0.5145, allocations: 84.08 kB / 0.8195 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.5146, allocations: 75.28 kB / 0.8195 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.5146, allocations: 109.8 kB / 0.8196 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.974e-06/0.5146, allocations: 1.719 kB / 0.8196 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.947e-05/0.5147, allocations: 27.3 kB / 0.8197 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.5147, allocations: 130.7 kB / 0.8198 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.115e-05/0.5148, allocations: 101.4 kB / 0.8199 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.5148, allocations: 25.7 kB / 0.8199 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.511e-05/0.5148, allocations: 80.89 kB / 0.82 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.5148, allocations: 0 / 0.82 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.667e-05/0.5149, allocations: 9.719 kB / 0.82 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.147e-05/0.515, allocations: 315.4 kB / 0.8203 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.494e-06/0.515, allocations: 128 / 0.8203 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.29e-06/0.515, allocations: 4 kB / 0.8203 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.695e-05/0.515, allocations: 83.22 kB / 0.8204 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-05/0.515, allocations: 79.22 kB / 0.8204 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.357e-05/0.5151, allocations: 32.89 kB / 0.8205 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.743e-05/0.5151, allocations: 79.5 kB / 0.8206 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.493e-05/0.5151, allocations: 78.19 kB / 0.8206 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.083e-05/0.5152, allocations: 161.4 kB / 0.8208 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.007e-05/0.5152, allocations: 82.44 kB / 0.8209 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.668e-05/0.5152, allocations: 154.5 kB / 0.821 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.316e-05/0.5153, allocations: 75.94 kB / 0.8211 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.5153, allocations: 78.86 kB / 0.8212 GB, free: 13.97 MB / 0.6198 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 8.497e-05/0.5154, allocations: 269.6 kB / 0.8214 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.66e-05/0.5154, allocations: 109.7 kB / 0.8215 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.69e-05/0.5155, allocations: 112.4 kB / 0.8216 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.287e-05/0.5155, allocations: 181.7 kB / 0.8218 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.223e-05/0.5155, allocations: 176.3 kB / 0.822 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.364e-05/0.5156, allocations: 183.9 kB / 0.8221 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.5157, allocations: 374.3 kB / 0.8225 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-05/0.5158, allocations: 107.3 kB / 0.8226 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.419e-05/0.5158, allocations: 105.7 kB / 0.8227 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.257e-05/0.5158, allocations: 183 kB / 0.8229 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.531e-05/0.5159, allocations: 184.5 kB / 0.8231 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.109e-05/0.5159, allocations: 184.9 kB / 0.8232 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002083/0.5161, allocations: 185 kB / 0.8234 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.5162, allocations: 308.7 kB / 0.8237 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.377e-05/0.5162, allocations: 108.4 kB / 0.8238 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.355e-05/0.5163, allocations: 182.4 kB / 0.824 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.786e-05/0.5163, allocations: 105.6 kB / 0.8241 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.5164, allocations: 186.7 kB / 0.8243 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.5164, allocations: 106.3 kB / 0.8244 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.265e-05/0.5164, allocations: 77.78 kB / 0.8244 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5164, allocations: 2.094 kB / 0.8244 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001584/0.5166, allocations: 0 / 0.8244 GB, free: 10.45 MB / 0.6198 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.0003089/0.5169, allocations: 0.8131 MB / 0.8252 GB, free: 9.629 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.046e-05/0.517, allocations: 0 / 0.8252 GB, free: 9.629 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.517, allocations: 1.375 kB / 0.8252 GB, free: 9.629 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.352e-06/0.517, allocations: 0 / 0.8252 GB, free: 9.629 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.5172, allocations: 457.9 kB / 0.8257 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008072/0.518, allocations: 1.523 MB / 0.8272 GB, free: 7.605 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001628/0.5182, allocations: 0.673 MB / 0.8278 GB, free: 6.91 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.947e-06/0.5182, allocations: 0 / 0.8278 GB, free: 6.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.5182, allocations: 11.38 kB / 0.8278 GB, free: 6.898 MB / 0.6198 GB Notification: Performance of SimCode: time 7.41e-07/0.5182, allocations: 0 / 0.8278 GB, free: 6.898 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01353/0.5318, allocations: 1.019 MB / 0.8288 GB, free: 6.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.488/7.02, allocations: 5.578 kB / 0.8288 GB, free: 6.5 MB / 0.6198 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: 10.055083201033995] Failed to read output from testmodel.py, exit status != 0: 7.097518322058022 7.111401664 6.595568934 Calling exit ...