Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.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.0008651/0.0008651, 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.0008473/0.0008473, 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.9475/0.9475, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7251/0.7251, allocations: 154.6 MB / 413.8 MB, free: 0.7891 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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.Subtract,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.875e-06/2.875e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.521e-05, allocations: 3.125 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002068/0.002093, allocations: 0.7439 MB / 0.6188 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.003273, allocations: 0.8898 MB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.543e-05/0.003329, allocations: 0 / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.088e-05/0.00337, allocations: 7.875 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.361e-05/0.003463, allocations: 19.84 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.003664, allocations: 39.91 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.003796, allocations: 87.75 kB / 0.6199 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.003926, allocations: 27.91 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.004061, allocations: 55.88 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.369e-05/0.004145, allocations: 31.95 kB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.424e-05/0.004179, allocations: 8 kB / 0.62 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.526e-05/0.004194, allocations: 8 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.069e-05/0.004225, allocations: 23.91 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.957e-05/0.004265, allocations: 23.92 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.004424, allocations: 99.69 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.004428, allocations: 0 / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.023e-06/0.00443, allocations: 4 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.004435, allocations: 0 / 0.6201 GB, free: 11.59 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006116/0.005047, allocations: 310.1 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.005098, allocations: 12.03 kB / 0.6204 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.651e-05/0.005144, allocations: 34.75 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.005182, allocations: 12.83 kB / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.005313, allocations: 117.7 kB / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.005338, allocations: 8.359 kB / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.005357, allocations: 8.359 kB / 0.6206 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003031/0.00566, allocations: 116.8 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.005669, allocations: 0 / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.005684, allocations: 4 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.00569, allocations: 4 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003277/0.006018, allocations: 91.84 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005283/0.006546, allocations: 307.8 kB / 0.6211 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005199/0.007066, allocations: 110.6 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.007186, allocations: 60.8 kB / 0.6213 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.007203, allocations: 0 / 0.6213 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.007222, allocations: 34.56 kB / 0.6213 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.007224, allocations: 0 / 0.6213 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0004041/0.007628, allocations: 177.5 kB / 0.6215 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.00766, allocations: 59.39 kB / 0.6215 GB, free: 10 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.335e-05/0.007733, allocations: 125.8 kB / 0.6216 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.007745, allocations: 29.64 kB / 0.6217 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.961e-05/0.007795, allocations: 96.11 kB / 0.6218 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.007815, allocations: 19.8 kB / 0.6218 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.007853, allocations: 29.7 kB / 0.6218 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.375e-05/0.007927, allocations: 318.8 kB / 0.6221 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.426e-05/0.008021, allocations: 43.95 kB / 0.6222 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.192e-05/0.008113, allocations: 55.88 kB / 0.6222 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/0.008298, allocations: 96.78 kB / 0.6223 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.0083, allocations: 0 / 0.6223 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002255/0.008526, allocations: 137.5 kB / 0.6224 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.008538, allocations: 4 kB / 0.6224 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.008543, allocations: 0 / 0.6224 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.008554, allocations: 0 / 0.6224 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.033e-05/0.008644, allocations: 31.91 kB / 0.6225 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.008649, allocations: 0 / 0.6225 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.273e-05/0.008702, allocations: 11.98 kB / 0.6225 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.008717, allocations: 11.94 kB / 0.6225 GB, free: 8.965 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: 3 (reaToInt1.y,reaToInt.y,sub.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.953e-05/0.008786, allocations: 118.8 kB / 0.6226 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.646e-05/0.008803, allocations: 3.953 kB / 0.6226 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.043e-05/0.008823, allocations: 16.38 kB / 0.6226 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.008825, allocations: 0 / 0.6226 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.008829, allocations: 0 / 0.6226 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.008833, allocations: 0 / 0.6226 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.00897, allocations: 172.6 kB / 0.6228 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.008972, allocations: 0 / 0.6228 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.824e-05/0.00904, allocations: 23.97 kB / 0.6228 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.009042, allocations: 0 / 0.6228 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.009053, allocations: 7.984 kB / 0.6228 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.009054, allocations: 0 / 0.6228 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.009057, allocations: 3.938 kB / 0.6228 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.009311, allocations: 235.9 kB / 0.623 GB, free: 8.324 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.238e-05/0.009324, allocations: 11.95 kB / 0.6231 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.009337, allocations: 0 / 0.6231 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.517e-05/0.009402, allocations: 11.98 kB / 0.6231 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.201e-05/0.009464, allocations: 19.97 kB / 0.6231 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.00947, allocations: 7.984 kB / 0.6231 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.388e-05/0.009504, allocations: 87.28 kB / 0.6232 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.009504, allocations: 0 / 0.6232 GB, free: 8.188 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001631/0.009667, allocations: 19.94 kB / 0.6232 GB, free: 8.168 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: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0004553/0.01012, allocations: 0.7827 MB / 0.624 GB, free: 7.359 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002376/0.01036, allocations: 95.91 kB / 0.6241 GB, free: 7.266 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01036, allocations: 4 kB / 0.6241 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.01047, allocations: 67.88 kB / 0.6241 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.01073, allocations: 4 kB / 0.6241 GB, free: 7.191 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.01209, allocations: 1.541 MB / 0.6256 GB, free: 5.566 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.953e-05/0.01213, allocations: 71.33 kB / 0.6257 GB, free: 5.477 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.946e-05/0.01218, allocations: 12 kB / 0.6257 GB, free: 5.465 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.565e-05/0.01225, allocations: 36.47 kB / 0.6257 GB, free: 5.43 MB / 0.5886 GB Notification: Performance of SimCode: time 8.92e-07/0.01225, allocations: 0 / 0.6257 GB, free: 5.43 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01879/0.03104, allocations: 3.475 MB / 0.6291 GB, free: 2.129 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.972/7.003, allocations: 12.69 kB / 0.6292 GB, free: 2.117 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Subtract.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.857574782334268] Failed to read output from testmodel.py, exit status != 0: 7.085441123694181 7.095251893 7.089031159 Calling exit ...