Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.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.0008536/0.0008536, 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.0009918/0.0009918, allocations: 170.3 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.9113/0.9113, 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.7341/0.7341, allocations: 154.6 MB / 413.7 MB, free: 0.8125 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.Abs,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Abs,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.166e-06/3.166e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.462e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Abs): time 0.001316/0.00134, allocations: 0.6535 MB / 0.6187 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008498/0.00219, allocations: 0.8665 MB / 0.6196 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.186e-05/0.002222, allocations: 4 kB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.839e-05/0.00225, allocations: 3.938 kB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.787e-05/0.002308, allocations: 3.938 kB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001608/0.002469, allocations: 11.98 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.773e-05/0.002537, allocations: 23.92 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.573e-05/0.002632, allocations: 4 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.698e-05/0.002709, allocations: 19.97 kB / 0.6197 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.217e-05/0.002742, allocations: 4 kB / 0.6197 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.002766, allocations: 4 kB / 0.6197 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.713e-06/0.002773, allocations: 3.938 kB / 0.6197 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.743e-05/0.00279, allocations: 7.938 kB / 0.6197 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.943e-05/0.002809, allocations: 7.984 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.406e-05/0.002884, allocations: 19.97 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.002886, allocations: 0 / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.52e-07/0.002887, allocations: 0 / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.002891, allocations: 0 / 0.6197 GB, free: 12.05 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003268/0.003218, allocations: 266.3 kB / 0.62 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.003259, allocations: 9.469 kB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.701e-05/0.003286, allocations: 30.75 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.139e-05/0.003308, allocations: 8.891 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.932e-05/0.003387, allocations: 105.8 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.003397, allocations: 384 / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-06/0.003405, allocations: 4.375 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.003528, allocations: 46.25 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.003535, allocations: 192 / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.003544, allocations: 12.3 kB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.003551, allocations: 4.125 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.884e-05/0.00364, allocations: 35.91 kB / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00027/0.00391, allocations: 212.1 kB / 0.6204 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.421e-05/0.003994, allocations: 34.56 kB / 0.6204 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.588e-05/0.00404, allocations: 24.89 kB / 0.6205 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.004057, allocations: 4 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.004076, allocations: 38.5 kB / 0.6205 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.004077, allocations: 3.938 kB / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002211/0.004298, allocations: 81.59 kB / 0.6206 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.004331, allocations: 55.41 kB / 0.6206 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.763e-05/0.004389, allocations: 97.84 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.004399, allocations: 25.7 kB / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.508e-05/0.004434, allocations: 88.12 kB / 0.6208 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.004449, allocations: 12.08 kB / 0.6209 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.251e-05/0.004472, allocations: 9.719 kB / 0.6209 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.341e-05/0.004555, allocations: 326.8 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.464e-05/0.0046, allocations: 11.98 kB / 0.6212 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.482e-05/0.004635, allocations: 15.98 kB / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.996e-05/0.004715, allocations: 44.75 kB / 0.6212 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.004716, allocations: 4.062 kB / 0.6212 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000103/0.004819, allocations: 65.61 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.004832, allocations: 4 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.004836, allocations: 0 / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.004847, allocations: 0 / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.575e-05/0.004913, allocations: 11.98 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.004918, allocations: 0 / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.307e-05/0.004941, allocations: 7.984 kB / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.004946, allocations: 4.031 kB / 0.6213 GB, free: 10.18 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 (2): * Single equations (assignments): 2 * 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.269e-05/0.004998, allocations: 110.8 kB / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.239e-05/0.005011, allocations: 7.938 kB / 0.6214 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.174e-05/0.005033, allocations: 3.312 kB / 0.6215 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.005034, allocations: 0 / 0.6215 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.005039, allocations: 4 kB / 0.6215 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.005042, allocations: 7.938 kB / 0.6215 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.66e-05/0.005138, allocations: 124.8 kB / 0.6216 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.005139, allocations: 3.938 kB / 0.6216 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.681e-05/0.005166, allocations: 7.984 kB / 0.6216 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.005171, allocations: 7.938 kB / 0.6216 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.005178, allocations: 4 kB / 0.6216 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.005179, allocations: 0 / 0.6216 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.00518, allocations: 0 / 0.6216 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.005312, allocations: 159.5 kB / 0.6218 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.131e-06/0.005318, allocations: 3.938 kB / 0.6218 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.00533, allocations: 8 kB / 0.6218 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.59e-05/0.005366, allocations: 3.984 kB / 0.6218 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.095e-05/0.005397, allocations: 8.031 kB / 0.6218 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.0054, allocations: 0 / 0.6218 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.717e-05/0.005437, allocations: 83.27 kB / 0.6219 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.005437, allocations: 0 / 0.6219 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001449/0.005582, allocations: 4 kB / 0.6219 GB, free: 9.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 (2): * Single equations (assignments): 2 * 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.0003329/0.005915, allocations: 0.6928 MB / 0.6225 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001306/0.006046, allocations: 43.98 kB / 0.6226 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.006047, allocations: 0 / 0.6226 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.051e-05/0.006088, allocations: 19.92 kB / 0.6226 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.00632, allocations: 7.938 kB / 0.6226 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003485/0.006669, allocations: 126.6 kB / 0.6227 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.375e-05/0.006713, allocations: 59.34 kB / 0.6228 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.281e-05/0.006735, allocations: 8.125 kB / 0.6228 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.874e-05/0.006774, allocations: 12.5 kB / 0.6228 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of SimCode: time 6.81e-07/0.006775, allocations: 0 / 0.6228 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01458/0.02135, allocations: 1.936 MB / 0.6247 GB, free: 6.73 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.839/6.861, allocations: 0 / 0.6247 GB, free: 6.73 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs_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_Abs.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.724605397321284] Failed to read output from testmodel.py, exit status != 0: 6.939121614210308 6.948482591 6.943660075 Calling exit ...