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.0008808/0.0008808, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001255/0.001255, allocations: 213.9 kB / 22.25 MB, free: 3.578 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 1.001/1.001, allocations: 230.6 MB / 256 MB, free: 9.602 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.7727/0.7727, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.0008575/0.0008575, allocations: 68.83 kB / 0.7182 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5564/0.5573, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001227/0.5585, allocations: 0.544 MB / 0.8183 GB, free: 0.707 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 3.908e-05/0.5586, allocations: 7.938 kB / 0.8183 GB, free: 0.6992 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.61e-05/0.5586, allocations: 3.25 kB / 0.8183 GB, free: 0.6992 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.869e-05/0.5586, allocations: 0 / 0.8183 GB, free: 0.6992 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.591e-05/0.5586, allocations: 4 kB / 0.8183 GB, free: 0.6953 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.077e-05/0.5587, allocations: 0.5156 kB / 0.8183 GB, free: 0.6953 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.617e-05/0.5587, allocations: 0 / 0.8183 GB, free: 0.6953 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.713e-05/0.5588, allocations: 5.844 kB / 0.8184 GB, free: 0.6953 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.644e-05/0.5588, allocations: 0 / 0.8184 GB, free: 0.6953 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.01e-05/0.5588, allocations: 4.594 kB / 0.8184 GB, free: 0.6914 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.5588, allocations: 0 / 0.8184 GB, free: 0.6914 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.919e-06/0.5588, allocations: 0 / 0.8184 GB, free: 0.6914 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.43e-05/0.5589, allocations: 3.938 kB / 0.8184 GB, free: 0.6875 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.078e-05/0.5589, allocations: 1.688 kB / 0.8184 GB, free: 0.6875 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.767e-05/0.5589, allocations: 6.016 kB / 0.8184 GB, free: 0.6836 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.5589, allocations: 7.938 kB / 0.8184 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.933e-06/0.5589, allocations: 0 / 0.8184 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.559, allocations: 0 / 0.8184 GB, free: 0.6797 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.000208/0.5592, allocations: 241.3 kB / 0.8186 GB, free: 428 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.5592, allocations: 11.72 kB / 0.8186 GB, free: 428 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.163e-05/0.5592, allocations: 30.75 kB / 0.8186 GB, free: 388 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.706e-05/0.5592, allocations: 0.9375 kB / 0.8186 GB, free: 388 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.024e-05/0.5593, allocations: 107.5 kB / 0.8187 GB, free: 260 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.5593, allocations: 384 / 0.8187 GB, free: 260 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.793e-06/0.5593, allocations: 384 / 0.8188 GB, free: 260 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.484e-05/0.5594, allocations: 39.02 kB / 0.8188 GB, free: 220 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.5594, allocations: 3.938 kB / 0.8188 GB, free: 216 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.603e-06/0.5594, allocations: 0 / 0.8188 GB, free: 216 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.5594, allocations: 7.922 kB / 0.8188 GB, free: 208 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.456e-05/0.5594, allocations: 0.8438 kB / 0.8188 GB, free: 208 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002547/0.5597, allocations: 353.6 kB / 0.8191 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.462e-05/0.5598, allocations: 170.8 kB / 0.8193 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.755e-05/0.5598, allocations: 80.14 kB / 0.8194 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.5598, allocations: 81.59 kB / 0.8195 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.5598, allocations: 108 kB / 0.8196 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.843e-06/0.5598, allocations: 4 kB / 0.8196 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 5.939e-05/0.5599, allocations: 34.34 kB / 0.8196 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.56, allocations: 128.4 kB / 0.8197 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.712e-05/0.56, allocations: 94.58 kB / 0.8198 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.376e-06/0.56, allocations: 25.7 kB / 0.8198 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.749e-05/0.5601, allocations: 84.52 kB / 0.8199 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-06/0.5601, allocations: 0 / 0.8199 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.549e-05/0.5601, allocations: 9.719 kB / 0.8199 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.704e-05/0.5602, allocations: 315.6 kB / 0.8202 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.298e-06/0.5602, allocations: 0 / 0.8202 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.126e-06/0.5602, allocations: 1.281 kB / 0.8202 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.361e-05/0.5602, allocations: 79.84 kB / 0.8203 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.048e-05/0.5602, allocations: 81.31 kB / 0.8204 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.385e-05/0.5602, allocations: 36.78 kB / 0.8204 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.425e-05/0.5603, allocations: 81.31 kB / 0.8205 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/0.5603, allocations: 75.28 kB / 0.8206 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.602e-05/0.5603, allocations: 160.1 kB / 0.8207 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.805e-05/0.5604, allocations: 76.12 kB / 0.8208 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.5e-05/0.5604, allocations: 152.9 kB / 0.8209 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.701e-05/0.5604, allocations: 83.78 kB / 0.821 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.5605, allocations: 79.22 kB / 0.8211 GB, free: 13.77 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 7.631e-05/0.5605, allocations: 265 kB / 0.8213 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.842e-05/0.5606, allocations: 107.5 kB / 0.8214 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.705e-05/0.5606, allocations: 112.7 kB / 0.8216 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-05/0.5607, allocations: 176.3 kB / 0.8217 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.973e-05/0.5607, allocations: 185.9 kB / 0.8219 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-05/0.5608, allocations: 181.3 kB / 0.8221 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.5609, allocations: 374.3 kB / 0.8224 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.722e-05/0.5609, allocations: 105.4 kB / 0.8225 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.073e-05/0.561, allocations: 109.6 kB / 0.8226 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.772e-05/0.561, allocations: 180.7 kB / 0.8228 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-05/0.5611, allocations: 188.4 kB / 0.823 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.113e-05/0.5611, allocations: 180.8 kB / 0.8232 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-05/0.5611, allocations: 180.3 kB / 0.8233 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.401e-05/0.5612, allocations: 312.6 kB / 0.8236 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.614e-05/0.5613, allocations: 108.1 kB / 0.8237 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.316e-05/0.5613, allocations: 182 kB / 0.8239 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.858e-05/0.5614, allocations: 107.4 kB / 0.824 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/0.5614, allocations: 188.2 kB / 0.8242 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.5614, allocations: 102.1 kB / 0.8243 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.178e-05/0.5615, allocations: 77.31 kB / 0.8244 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5615, allocations: 4.094 kB / 0.8244 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001622/0.5616, allocations: 2.5 kB / 0.8244 GB, free: 10.27 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.0002812/0.5619, allocations: 0.8092 MB / 0.8252 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 3.056e-05/0.562, allocations: 2 kB / 0.8252 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.562, allocations: 0 / 0.8252 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.01e-07/0.562, allocations: 0 / 0.8252 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.5622, allocations: 458.5 kB / 0.8256 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007231/0.5629, allocations: 1.523 MB / 0.8271 GB, free: 7.434 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.613e-05/0.563, allocations: 60.64 kB / 0.8271 GB, free: 7.359 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.735e-06/0.563, allocations: 4 kB / 0.8271 GB, free: 7.355 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.191e-05/0.563, allocations: 7.438 kB / 0.8271 GB, free: 7.348 MB / 0.6198 GB Notification: Performance of SimCode: time 3.51e-07/0.563, allocations: 0 / 0.8271 GB, free: 7.348 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01456/0.5776, allocations: 1.415 MB / 0.8285 GB, free: 6.535 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.659/7.237, allocations: 2.344 kB / 0.8285 GB, free: 6.535 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.283873798325658] Failed to read output from testmodel.py, exit status != 0: 7.3199262651614845 7.336019029 6.774783923 Calling exit ...