Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008418/0.0008418, 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.0009437/0.0009437, 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.9192/0.9192, 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 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.7085/0.7085, allocations: 154.6 MB / 413.8 MB, free: 0.7969 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.Reals.Validation.Add,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.236e-06/3.236e-06, allocations: 0 / 0.6182 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.296e-05, allocations: 5.094 kB / 0.6182 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.001288/0.001311, allocations: 0.6849 MB / 0.6188 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006935/0.002004, allocations: 0.8393 MB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.014e-05/0.002034, allocations: 0 / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.553e-05/0.00206, allocations: 0 / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.817e-05/0.002118, allocations: 3.938 kB / 0.6197 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 5.843e-05/0.002176, allocations: 15.98 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.235e-05/0.002249, allocations: 39.86 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.041e-05/0.002339, allocations: 19.86 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.981e-05/0.002409, allocations: 23.92 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.307e-05/0.002442, allocations: 11.98 kB / 0.6198 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.002462, allocations: 4 kB / 0.6198 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.48e-06/0.002468, allocations: 8 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.002485, allocations: 15.91 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.903e-05/0.002504, allocations: 8 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.715e-05/0.002581, allocations: 43.86 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.002583, allocations: 0 / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.011e-06/0.002584, allocations: 0 / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.002588, allocations: 0 / 0.6198 GB, free: 11.89 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.0003379/0.002926, allocations: 290.2 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.002963, allocations: 8.031 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.735e-05/0.00299, allocations: 38.73 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.99e-05/0.00301, allocations: 8.891 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.274e-05/0.003083, allocations: 113.7 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.003092, allocations: 384 / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.0031, allocations: 4.375 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.003264, allocations: 66.22 kB / 0.6203 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.003272, allocations: 192 / 0.6203 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.003281, allocations: 4.375 kB / 0.6203 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.003286, allocations: 4.125 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.00343, allocations: 67.92 kB / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002825/0.003712, allocations: 232 kB / 0.6206 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.003823, allocations: 50.55 kB / 0.6207 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.156e-05/0.003905, allocations: 44.91 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.003915, allocations: 7.938 kB / 0.6207 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.003933, allocations: 30.56 kB / 0.6208 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.003934, allocations: 4 kB / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0003108/0.004244, allocations: 133.5 kB / 0.6209 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.004277, allocations: 51.41 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.112e-05/0.004348, allocations: 109.8 kB / 0.621 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.004359, allocations: 25.7 kB / 0.6211 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/0.004397, allocations: 92.09 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.004413, allocations: 11.89 kB / 0.6212 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.559e-05/0.004439, allocations: 13.72 kB / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.038e-05/0.004509, allocations: 318.8 kB / 0.6215 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.135e-05/0.004581, allocations: 27.97 kB / 0.6215 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.64e-05/0.004647, allocations: 39.89 kB / 0.6216 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.004779, allocations: 68.73 kB / 0.6216 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.00478, allocations: 0 / 0.6216 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001629/0.004943, allocations: 109.5 kB / 0.6217 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.004956, allocations: 11.94 kB / 0.6217 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.004959, allocations: 0 / 0.6217 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.00497, allocations: 0 / 0.6217 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.625e-05/0.005046, allocations: 15.98 kB / 0.6218 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.005051, allocations: 0 / 0.6218 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.993e-05/0.005091, allocations: 11.98 kB / 0.6218 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.005097, allocations: 0 / 0.6218 GB, free: 9.723 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.603e-05/0.005153, allocations: 110.8 kB / 0.6219 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.414e-05/0.005167, allocations: 7.938 kB / 0.6219 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.779e-05/0.005185, allocations: 11.98 kB / 0.6219 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.005189, allocations: 4 kB / 0.6219 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.005193, allocations: 4 kB / 0.6219 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.005196, allocations: 0 / 0.6219 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.00531, allocations: 132.8 kB / 0.622 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.005312, allocations: 0 / 0.622 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.739e-05/0.005359, allocations: 19.86 kB / 0.622 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.005361, allocations: 4 kB / 0.622 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.005367, allocations: 0 / 0.622 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.005369, allocations: 3.984 kB / 0.622 GB, free: 9.375 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.005369, allocations: 4 kB / 0.6221 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.005562, allocations: 187.4 kB / 0.6222 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-06/0.005569, allocations: 7.938 kB / 0.6222 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.728e-06/0.005579, allocations: 0 / 0.6222 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.051e-05/0.005629, allocations: 15.98 kB / 0.6223 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/0.005663, allocations: 3.984 kB / 0.6223 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.005666, allocations: 0 / 0.6223 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.951e-05/0.005695, allocations: 95.27 kB / 0.6223 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005695, allocations: 0 / 0.6223 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001455/0.005841, allocations: 8 kB / 0.6224 GB, free: 9.043 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.0003542/0.006195, allocations: 0.7244 MB / 0.6231 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001856/0.006381, allocations: 75.97 kB / 0.6231 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.006382, allocations: 0 / 0.6231 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.135e-05/0.006453, allocations: 43.92 kB / 0.6232 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.006661, allocations: 4 kB / 0.6232 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003144/0.006975, allocations: 150.6 kB / 0.6233 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.449e-05/0.00702, allocations: 71.28 kB / 0.6234 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.131e-05/0.007041, allocations: 0 / 0.6234 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.895e-05/0.00708, allocations: 20.48 kB / 0.6234 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of SimCode: time 3.7e-07/0.00708, allocations: 3.938 kB / 0.6234 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01449/0.02157, allocations: 2.319 MB / 0.6257 GB, free: 5.699 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.805/6.826, allocations: 6.766 kB / 0.6257 GB, free: 5.695 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Controls_OBC_CDL_Reals_Validation_Add.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.586819309741259] Failed to read output from testmodel.py, exit status != 0: 6.906664961017668 6.916520273 6.912169153 Calling exit ...