Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.0008245/0.0008245, allocations: 68.47 kB / 19.17 MB, free: 0.7344 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.000849/0.000849, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.9233/0.9233, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7265/0.7265, allocations: 154.6 MB / 413.7 MB, free: 0.8047 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.Subtract,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.365e-06/2.365e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.204e-05/2.441e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001589/0.001613, allocations: 0.6878 MB / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008548/0.002468, allocations: 0.8198 MB / 0.6196 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.199e-05/0.00251, allocations: 0 / 0.6196 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.702e-05/0.002547, allocations: 3.938 kB / 0.6196 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.06e-05/0.002607, allocations: 7.875 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 6.069e-05/0.002668, allocations: 15.98 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.74e-05/0.002746, allocations: 47.83 kB / 0.6197 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.935e-05/0.002845, allocations: 8 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.218e-05/0.002917, allocations: 27.97 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.567e-05/0.002953, allocations: 15.92 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.002974, allocations: 4 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.182e-06/0.00298, allocations: 4 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.479e-05/0.002995, allocations: 4 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.188e-05/0.003017, allocations: 15.92 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.617e-05/0.003103, allocations: 47.84 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.003105, allocations: 0 / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.102e-06/0.003106, allocations: 0 / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.818e-06/0.00311, allocations: 0 / 0.6198 GB, free: 11.95 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.000425/0.003535, allocations: 290.3 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.003575, allocations: 9.469 kB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.892e-05/0.003604, allocations: 30.75 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.986e-05/0.003624, allocations: 8.891 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.854e-05/0.003702, allocations: 117.7 kB / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.003712, allocations: 384 / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.126e-06/0.00372, allocations: 4.375 kB / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.003878, allocations: 66.22 kB / 0.6203 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.003885, allocations: 4.188 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.003895, allocations: 4.375 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.003902, allocations: 4.125 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.004043, allocations: 63.92 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003183/0.004362, allocations: 228 kB / 0.6206 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.004504, allocations: 62.41 kB / 0.6206 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.404e-05/0.004588, allocations: 40.92 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.004604, allocations: 3.938 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.004629, allocations: 38.55 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.683e-06/0.004631, allocations: 0 / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0003577/0.004988, allocations: 129.7 kB / 0.6208 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.005032, allocations: 55.34 kB / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.543e-05/0.005117, allocations: 105.8 kB / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.005131, allocations: 25.7 kB / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.303e-05/0.005184, allocations: 96.08 kB / 0.6211 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.005208, allocations: 7.953 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.005239, allocations: 13.72 kB / 0.6211 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.005345, allocations: 314.8 kB / 0.6214 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.137e-05/0.005436, allocations: 35.95 kB / 0.6215 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.611e-05/0.005502, allocations: 31.95 kB / 0.6215 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.00564, allocations: 68.78 kB / 0.6216 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.005643, allocations: 0 / 0.6216 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003889/0.006032, allocations: 113.5 kB / 0.6217 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.006052, allocations: 4 kB / 0.6217 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.006058, allocations: 0 / 0.6217 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.006074, allocations: 0 / 0.6217 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.006177, allocations: 19.97 kB / 0.6217 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.006184, allocations: 0 / 0.6217 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.923e-05/0.006224, allocations: 11.98 kB / 0.6217 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.006231, allocations: 4 kB / 0.6217 GB, free: 9.785 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 7.166e-05/0.006302, allocations: 110.8 kB / 0.6218 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.006321, allocations: 7.938 kB / 0.6218 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/0.006349, allocations: 4 kB / 0.6218 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.006353, allocations: 4 kB / 0.6218 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.00636, allocations: 0 / 0.6218 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.006365, allocations: 3.984 kB / 0.6218 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.006497, allocations: 140.7 kB / 0.622 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.006499, allocations: 4 kB / 0.622 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.352e-05/0.006543, allocations: 19.92 kB / 0.622 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.006544, allocations: 4 kB / 0.622 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.006554, allocations: 0 / 0.622 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.006555, allocations: 3.938 kB / 0.622 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.006557, allocations: 0 / 0.622 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.006774, allocations: 195.4 kB / 0.6222 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.204e-05/0.006786, allocations: 7.938 kB / 0.6222 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.006798, allocations: 0 / 0.6222 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.94e-05/0.006848, allocations: 19.98 kB / 0.6222 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.006895, allocations: 3.984 kB / 0.6222 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.006897, allocations: 0 / 0.6222 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.616e-05/0.006933, allocations: 87.59 kB / 0.6223 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006933, allocations: 0 / 0.6223 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001559/0.007089, allocations: 8 kB / 0.6223 GB, free: 9.098 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.0004372/0.007526, allocations: 0.7318 MB / 0.623 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001929/0.007719, allocations: 67.86 kB / 0.6231 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.007722, allocations: 4 kB / 0.6231 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.382e-05/0.007796, allocations: 36.28 kB / 0.6231 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.008056, allocations: 8.234 kB / 0.6231 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003675/0.008424, allocations: 154.5 kB / 0.6233 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.431e-05/0.008468, allocations: 67.28 kB / 0.6233 GB, free: 7.945 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.252e-05/0.00849, allocations: 4.094 kB / 0.6233 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.122e-05/0.008532, allocations: 16.48 kB / 0.6234 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of SimCode: time 8.02e-07/0.008532, allocations: 0 / 0.6234 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01493/0.02346, allocations: 2.318 MB / 0.6256 GB, free: 5.758 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.838/6.861, allocations: 8.078 kB / 0.6256 GB, free: 5.754 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Subtract.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.715810815803707] Failed to read output from testmodel.py, exit status != 0: 6.940762258134782 6.951126332 6.94646594 Calling exit ...