Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.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.001203/0.001203, 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.001167/0.001167, 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.9034/0.9034, 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.7476/0.7476, allocations: 154.6 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.Validation.Add,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.738e-06/3.738e-06, allocations: 4 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.356e-05, allocations: 2.812 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.001369/0.001393, allocations: 0.6784 MB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009038/0.002296, allocations: 0.8276 MB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.033e-05/0.002337, allocations: 4 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.197e-05/0.002369, allocations: 3.938 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.823e-05/0.002437, allocations: 7.969 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 7.119e-05/0.002508, allocations: 15.98 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.181e-05/0.00259, allocations: 43.8 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.002714, allocations: 11.98 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.333e-05/0.002808, allocations: 27.86 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.825e-05/0.002846, allocations: 11.98 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.00287, allocations: 4 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.542e-06/0.002877, allocations: 8 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.002896, allocations: 11.92 kB / 0.6197 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.654e-05/0.002923, allocations: 11.98 kB / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.689e-05/0.00302, allocations: 47.8 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.003022, allocations: 0 / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.313e-06/0.003023, allocations: 0 / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.003028, allocations: 0 / 0.6198 GB, free: 11.91 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003733/0.003401, allocations: 278.3 kB / 0.62 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.003442, allocations: 13.47 kB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.518e-05/0.003478, allocations: 38.75 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.089e-05/0.003498, allocations: 8.875 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.626e-05/0.003575, allocations: 109.7 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.003585, allocations: 384 / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-06/0.003593, allocations: 4.375 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.003768, allocations: 70.16 kB / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.003775, allocations: 192 / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.003784, allocations: 384 / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.003789, allocations: 8.125 kB / 0.6203 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.003931, allocations: 63.92 kB / 0.6203 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003007/0.004231, allocations: 232 kB / 0.6206 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.004351, allocations: 50.53 kB / 0.6206 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.528e-05/0.004437, allocations: 56.84 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.00445, allocations: 3.938 kB / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.004471, allocations: 30.56 kB / 0.6207 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.683e-06/0.004473, allocations: 0 / 0.6207 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0004582/0.004931, allocations: 121.6 kB / 0.6208 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.004961, allocations: 51.41 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.51e-05/0.005036, allocations: 117.8 kB / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.00505, allocations: 25.7 kB / 0.621 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/0.005094, allocations: 96.08 kB / 0.6211 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.005112, allocations: 3.953 kB / 0.6211 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/0.00514, allocations: 17.72 kB / 0.6211 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.138e-05/0.005221, allocations: 310.8 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.7e-05/0.005298, allocations: 35.89 kB / 0.6215 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.728e-05/0.005365, allocations: 35.97 kB / 0.6215 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.005502, allocations: 65.06 kB / 0.6215 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.005504, allocations: 0 / 0.6215 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001691/0.005673, allocations: 113.4 kB / 0.6217 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.005688, allocations: 12 kB / 0.6217 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.005693, allocations: 0 / 0.6217 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.005705, allocations: 0 / 0.6217 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.885e-05/0.005794, allocations: 19.97 kB / 0.6217 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.005801, allocations: 3.938 kB / 0.6217 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.923e-05/0.00584, allocations: 11.98 kB / 0.6217 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.005847, allocations: 4 kB / 0.6217 GB, free: 9.746 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 (3): * Single equations (assignments): 3 * 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 5.574e-05/0.005903, allocations: 106.8 kB / 0.6218 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/0.005918, allocations: 7.938 kB / 0.6218 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.089e-05/0.005939, allocations: 12 kB / 0.6218 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.005943, allocations: 3.984 kB / 0.6218 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.005947, allocations: 0 / 0.6218 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.005951, allocations: 4 kB / 0.6218 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.006057, allocations: 132.7 kB / 0.622 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.006058, allocations: 4 kB / 0.622 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.12e-05/0.0061, allocations: 15.92 kB / 0.622 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.006101, allocations: 0 / 0.622 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.413e-06/0.006109, allocations: 4 kB / 0.622 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.00611, allocations: 0 / 0.622 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.006111, allocations: 8 kB / 0.622 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.00631, allocations: 195.4 kB / 0.6222 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.684e-06/0.006318, allocations: 3.938 kB / 0.6222 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.00633, allocations: 4 kB / 0.6222 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.921e-05/0.006379, allocations: 7.984 kB / 0.6222 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.006419, allocations: 11.98 kB / 0.6222 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-06/0.006422, allocations: 4 kB / 0.6222 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.871e-05/0.006451, allocations: 87.28 kB / 0.6223 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006451, allocations: 0 / 0.6223 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001433/0.006594, allocations: 4 kB / 0.6223 GB, free: 9.066 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 (3): * Single equations (assignments): 3 * 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.0003972/0.006991, allocations: 0.7241 MB / 0.623 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001959/0.007187, allocations: 75.86 kB / 0.6231 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.007191, allocations: 4 kB / 0.6231 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.242e-05/0.007264, allocations: 35.95 kB / 0.6231 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.007514, allocations: 6.422 kB / 0.6231 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004033/0.007918, allocations: 158.5 kB / 0.6233 GB, free: 8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.428e-05/0.007972, allocations: 67.28 kB / 0.6233 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.649e-05/0.007998, allocations: 0 / 0.6233 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.867e-05/0.008047, allocations: 20.44 kB / 0.6234 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of SimCode: time 7.91e-07/0.008048, allocations: 0 / 0.6234 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01848/0.02653, allocations: 2.315 MB / 0.6256 GB, free: 5.734 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.903/6.93, allocations: 12.7 kB / 0.6256 GB, free: 5.723 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add_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_Validation_Add.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.814584093168378] Failed to read output from testmodel.py, exit status != 0: 7.011757776141167 7.02707912 7.021501234 Calling exit ...