Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.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.001151/0.001151, 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.0008519/0.0008519, 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.8679/0.8679, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.7085/0.7085, allocations: 154.6 MB / 413.7 MB, free: 0.8008 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.Integers.Validation.Abs,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.036e-06/3.036e-06, allocations: 0 / 0.618 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.977e-05/2.28e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001435/0.001458, allocations: 0.6797 MB / 0.6187 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008654/0.002323, allocations: 0.8587 MB / 0.6196 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.181e-05/0.002365, allocations: 4 kB / 0.6196 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3e-05/0.002395, allocations: 3.938 kB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.441e-05/0.002469, allocations: 11.92 kB / 0.6196 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001463/0.002616, allocations: 19.97 kB / 0.6196 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.393e-05/0.00269, allocations: 43.91 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.002797, allocations: 11.94 kB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.759e-05/0.002875, allocations: 35.89 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.635e-05/0.002931, allocations: 15.98 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.002955, allocations: 4 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.879e-06/0.002965, allocations: 4 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.136e-05/0.002987, allocations: 19.92 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.317e-05/0.00301, allocations: 7.984 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.793e-05/0.003108, allocations: 63.77 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.00311, allocations: 0 / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.52e-07/0.00311, allocations: 0 / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.003114, allocations: 0 / 0.6198 GB, free: 11.93 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003716/0.003486, allocations: 270.3 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.003524, allocations: 9.469 kB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.17e-05/0.003555, allocations: 38.73 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.305e-05/0.003578, allocations: 8.891 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.374e-05/0.003672, allocations: 113.7 kB / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.003694, allocations: 384 / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.003709, allocations: 8.375 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.003854, allocations: 65.97 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.003861, allocations: 3.938 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.003871, allocations: 4 kB / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.003876, allocations: 0 / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.003994, allocations: 55.94 kB / 0.6203 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.004307, allocations: 247.9 kB / 0.6206 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.004436, allocations: 66.47 kB / 0.6206 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.877e-05/0.004495, allocations: 32.92 kB / 0.6207 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.004508, allocations: 4 kB / 0.6207 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.004525, allocations: 30.56 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.004526, allocations: 0 / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0002545/0.00478, allocations: 113.8 kB / 0.6208 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.004809, allocations: 55.34 kB / 0.6209 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.686e-05/0.004866, allocations: 105.8 kB / 0.621 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.004876, allocations: 33.64 kB / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.723e-05/0.004913, allocations: 88.09 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.004929, allocations: 12.02 kB / 0.6211 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.004958, allocations: 25.64 kB / 0.6211 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.526e-05/0.005033, allocations: 314.8 kB / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.576e-05/0.005089, allocations: 27.97 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.949e-05/0.005138, allocations: 28.02 kB / 0.6215 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.983e-05/0.005238, allocations: 52.81 kB / 0.6215 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.00524, allocations: 0 / 0.6215 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001259/0.005366, allocations: 89.59 kB / 0.6216 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.005376, allocations: 4 kB / 0.6216 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.00538, allocations: 4 kB / 0.6216 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.005392, allocations: 0 / 0.6216 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.726e-05/0.005469, allocations: 20.17 kB / 0.6216 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.005473, allocations: 0 / 0.6216 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.245e-05/0.005506, allocations: 15.92 kB / 0.6217 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.005511, allocations: 0 / 0.6217 GB, free: 9.828 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: 2 (reaToInt.y,abs1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.168e-05/0.005573, allocations: 118.8 kB / 0.6218 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/0.005587, allocations: 4 kB / 0.6218 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.966e-05/0.005606, allocations: 8 kB / 0.6218 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.005608, allocations: 0 / 0.6218 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.005612, allocations: 0 / 0.6218 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.005615, allocations: 0 / 0.6218 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.005723, allocations: 148.7 kB / 0.6219 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.005724, allocations: 0 / 0.6219 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.641e-05/0.00576, allocations: 11.98 kB / 0.6219 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.62e-07/0.005761, allocations: 0 / 0.6219 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-06/0.005768, allocations: 0 / 0.6219 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.00577, allocations: 4 kB / 0.6219 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.00577, allocations: 0 / 0.6219 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.005927, allocations: 187.3 kB / 0.6221 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-06/0.005936, allocations: 4 kB / 0.6221 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.005946, allocations: 4 kB / 0.6221 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.375e-05/0.00599, allocations: 15.92 kB / 0.6221 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.006035, allocations: 7.984 kB / 0.6221 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-06/0.006039, allocations: 0 / 0.6221 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.941e-05/0.006068, allocations: 87.27 kB / 0.6222 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006068, allocations: 0 / 0.6222 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001453/0.006213, allocations: 8 kB / 0.6222 GB, free: 9.156 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: 2 (abs1.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.000322/0.006535, allocations: 0.7163 MB / 0.6229 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001456/0.006681, allocations: 64.05 kB / 0.623 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.006683, allocations: 4 kB / 0.623 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.032e-05/0.006743, allocations: 36.05 kB / 0.623 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.006947, allocations: 0 / 0.623 GB, free: 8.309 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000924/0.007871, allocations: 1.326 MB / 0.6243 GB, free: 6.902 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.077e-05/0.007911, allocations: 63.34 kB / 0.6244 GB, free: 6.82 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.904e-05/0.00794, allocations: 4 kB / 0.6244 GB, free: 6.816 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.007986, allocations: 24.48 kB / 0.6244 GB, free: 6.793 MB / 0.5886 GB Notification: Performance of SimCode: time 4.11e-07/0.007986, allocations: 0 / 0.6244 GB, free: 6.793 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01408/0.02207, allocations: 2.536 MB / 0.6269 GB, free: 4.418 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.884/6.906, allocations: 6.25 kB / 0.6269 GB, free: 4.414 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.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_Integers_Validation_Abs.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.664183813147247] Failed to read output from testmodel.py, exit status != 0: 6.984471661038697 6.994056158 6.989268137 Calling exit ...