Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.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.0008786/0.0008786, 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.001003/0.001003, 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.9382/0.9382, 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.7367/0.7367, allocations: 154.6 MB / 413.7 MB, free: 0.8281 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.Log,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.272e-05/1.42e-05, allocations: 5.375 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Log): time 0.001094/0.001108, allocations: 0.6614 MB / 0.6188 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007142/0.001823, allocations: 0.8393 MB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.923e-05/0.001852, allocations: 3.938 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.3e-05/0.001875, allocations: 0 / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.316e-05/0.001928, allocations: 3.938 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001772/0.002105, allocations: 15.97 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.405e-05/0.002169, allocations: 27.92 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.737e-05/0.002257, allocations: 0 / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.178e-05/0.002318, allocations: 11.98 kB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.316e-05/0.002352, allocations: 15.94 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.002364, allocations: 0 / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.983e-05/0.002404, allocations: 7.984 kB / 0.6197 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.359e-05/0.002418, allocations: 4 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.599e-05/0.002434, allocations: 4 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003689/0.002803, allocations: 31.88 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.002806, allocations: 4 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.002e-06/0.002807, allocations: 0 / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.002811, allocations: 0 / 0.6197 GB, free: 12.02 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.0003322/0.003143, allocations: 258.3 kB / 0.6199 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.003179, allocations: 13.47 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.959e-05/0.003209, allocations: 34.75 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.097e-05/0.00327, allocations: 8.891 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.855e-05/0.003349, allocations: 105.7 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.003358, allocations: 384 / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-06/0.003367, allocations: 4.375 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.003494, allocations: 50.23 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.003501, allocations: 192 / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.003508, allocations: 384 / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.003514, allocations: 4.125 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.88e-05/0.003602, allocations: 39.95 kB / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002894/0.003892, allocations: 208 kB / 0.6204 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.849e-05/0.00398, allocations: 46.52 kB / 0.6204 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.45e-05/0.004025, allocations: 16.91 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.004047, allocations: 4 kB / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.004068, allocations: 38.5 kB / 0.6205 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.004069, allocations: 0 / 0.6205 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002236/0.004292, allocations: 89.53 kB / 0.6206 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.004319, allocations: 51.41 kB / 0.6206 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.232e-05/0.004371, allocations: 101.8 kB / 0.6207 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.004382, allocations: 29.64 kB / 0.6208 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.71e-05/0.004419, allocations: 84.14 kB / 0.6208 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.004437, allocations: 11.89 kB / 0.6208 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.275e-05/0.00446, allocations: 9.719 kB / 0.6209 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.486e-05/0.004545, allocations: 319 kB / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.216e-05/0.004587, allocations: 19.97 kB / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.575e-05/0.004622, allocations: 11.98 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.83e-05/0.004701, allocations: 40.83 kB / 0.6212 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.004703, allocations: 0 / 0.6212 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001051/0.004808, allocations: 77.59 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.004829, allocations: 4 kB / 0.6213 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.004834, allocations: 0 / 0.6213 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.004847, allocations: 0 / 0.6213 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.102e-05/0.004918, allocations: 11.98 kB / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.004923, allocations: 0 / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.445e-05/0.004947, allocations: 11.92 kB / 0.6213 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.004952, allocations: 0 / 0.6213 GB, free: 10.15 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.595e-05/0.005008, allocations: 110.8 kB / 0.6214 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.168e-05/0.00502, allocations: 7.969 kB / 0.6214 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.005155, allocations: 72.97 kB / 0.6215 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.005158, allocations: 4 kB / 0.6215 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.005163, allocations: 0 / 0.6215 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.005166, allocations: 0 / 0.6215 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.005268, allocations: 128.7 kB / 0.6216 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.005269, allocations: 0 / 0.6216 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.559e-05/0.005294, allocations: 11.98 kB / 0.6217 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.005297, allocations: 7.969 kB / 0.6217 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.005303, allocations: 0 / 0.6217 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.005304, allocations: 0 / 0.6217 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.005305, allocations: 0 / 0.6217 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.00543, allocations: 163.5 kB / 0.6218 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-06/0.005436, allocations: 7.938 kB / 0.6218 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.659e-06/0.005446, allocations: 0 / 0.6218 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.632e-05/0.005482, allocations: 7.984 kB / 0.6218 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.005516, allocations: 0 / 0.6218 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-06/0.005518, allocations: 4.031 kB / 0.6218 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.061e-05/0.005548, allocations: 79.28 kB / 0.6219 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.005548, allocations: 0 / 0.6219 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001407/0.005689, allocations: 8 kB / 0.6219 GB, free: 9.469 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.0003023/0.005991, allocations: 0.6928 MB / 0.6226 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001167/0.006108, allocations: 40 kB / 0.6226 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.006109, allocations: 0 / 0.6226 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.192e-05/0.006151, allocations: 31.84 kB / 0.6227 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.006344, allocations: 2.188 kB / 0.6227 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002981/0.006642, allocations: 130.6 kB / 0.6228 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.064e-05/0.006682, allocations: 63.34 kB / 0.6229 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.51e-05/0.006697, allocations: 128 / 0.6229 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.952e-05/0.006737, allocations: 16.5 kB / 0.6229 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of SimCode: time 4.61e-07/0.006737, allocations: 0 / 0.6229 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01361/0.02035, allocations: 1.948 MB / 0.6248 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.658/6.678, allocations: 4 kB / 0.6248 GB, free: 6.605 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log_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_Log.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.543823112733662] Failed to read output from testmodel.py, exit status != 0: 6.75957438070327 6.769646675 6.765166662 Calling exit ...