Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.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.0008248/0.0008248, 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.0008422/0.0008422, 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.9332/0.9332, 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.7295/0.7295, allocations: 154.6 MB / 413.7 MB, free: 0.8359 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.Line,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.995e-06/2.995e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.64e-05, allocations: 5.375 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Line): time 0.001721/0.001748, allocations: 0.8308 MB / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.002922, allocations: 0.921 MB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.003022, allocations: 0 / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.079e-05/0.003063, allocations: 19.8 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.942e-05/0.003142, allocations: 11.88 kB / 0.6199 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.003384, allocations: 63.84 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001857/0.00357, allocations: 131.7 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.003727, allocations: 53.62 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.114e-05/0.003819, allocations: 75.86 kB / 0.6202 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.127e-05/0.00388, allocations: 43.86 kB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.003909, allocations: 12 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.359e-05/0.003922, allocations: 12 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.656e-05/0.003949, allocations: 31.84 kB / 0.6203 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.627e-05/0.003985, allocations: 43.91 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.004131, allocations: 151.4 kB / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.004134, allocations: 0 / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.775e-06/0.004137, allocations: 0 / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.004145, allocations: 0 / 0.6204 GB, free: 11.26 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0004787/0.004624, allocations: 373.8 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.004665, allocations: 9.469 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.139e-05/0.004706, allocations: 50.73 kB / 0.6209 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/0.004741, allocations: 20.84 kB / 0.6209 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.004953, allocations: 145.6 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.004966, allocations: 8.375 kB / 0.621 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.004981, allocations: 12.38 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003845/0.005365, allocations: 219.3 kB / 0.6212 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.005374, allocations: 4.188 kB / 0.6213 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.005389, allocations: 4.375 kB / 0.6213 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.005396, allocations: 8.125 kB / 0.6213 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.005572, allocations: 131.9 kB / 0.6214 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006419/0.006214, allocations: 439.2 kB / 0.6218 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.006415, allocations: 86.52 kB / 0.6219 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.006517, allocations: 36.84 kB / 0.6219 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.006544, allocations: 4 kB / 0.6219 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.00658, allocations: 46.48 kB / 0.622 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 2.444e-06/0.006583, allocations: 0 / 0.622 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0003525/0.006935, allocations: 161.6 kB / 0.6221 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.006979, allocations: 55.41 kB / 0.6222 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.007144, allocations: 188.2 kB / 0.6224 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.007163, allocations: 29.7 kB / 0.6224 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.264e-05/0.007235, allocations: 112 kB / 0.6225 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.007259, allocations: 47.67 kB / 0.6225 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/0.007306, allocations: 29.66 kB / 0.6226 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.221e-05/0.007398, allocations: 326.8 kB / 0.6229 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.628e-05/0.007474, allocations: 39.97 kB / 0.6229 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.701e-05/0.007541, allocations: 47.22 kB / 0.623 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.007678, allocations: 84.83 kB / 0.623 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.00768, allocations: 4 kB / 0.623 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001809/0.007861, allocations: 145.5 kB / 0.6232 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.007874, allocations: 4 kB / 0.6232 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.00788, allocations: 0 / 0.6232 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.007893, allocations: 3.938 kB / 0.6232 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.007999, allocations: 27.98 kB / 0.6232 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.008008, allocations: 0 / 0.6232 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.91e-05/0.008057, allocations: 23.83 kB / 0.6232 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.617e-06/0.008066, allocations: 4 kB / 0.6232 GB, free: 8.172 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 (13): * Single equations (assignments): 13 * 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.67e-05/0.008142, allocations: 122.8 kB / 0.6234 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.008166, allocations: 19.84 kB / 0.6234 GB, free: 8.023 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002177/0.008383, allocations: 143 kB / 0.6235 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.008386, allocations: 0 / 0.6235 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.00839, allocations: 4 kB / 0.6235 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.008394, allocations: 0 / 0.6235 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003812/0.008775, allocations: 411.9 kB / 0.6239 GB, free: 7.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.008777, allocations: 0 / 0.6239 GB, free: 7.41 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.855e-05/0.008836, allocations: 31.92 kB / 0.6239 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.008838, allocations: 0 / 0.6239 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.008848, allocations: 4 kB / 0.624 GB, free: 7.375 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.008851, allocations: 480 / 0.624 GB, free: 7.375 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.008852, allocations: 0 / 0.624 GB, free: 7.375 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.009073, allocations: 253.7 kB / 0.6242 GB, free: 7.102 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.014e-05/0.009093, allocations: 16.03 kB / 0.6242 GB, free: 7.086 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.00911, allocations: 8 kB / 0.6242 GB, free: 7.078 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.099e-05/0.009181, allocations: 11.98 kB / 0.6242 GB, free: 7.066 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.009224, allocations: 11.98 kB / 0.6242 GB, free: 7.055 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.009232, allocations: 4 kB / 0.6242 GB, free: 7.051 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.662e-05/0.009318, allocations: 153.6 kB / 0.6244 GB, free: 6.902 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.009318, allocations: 0 / 0.6244 GB, free: 6.902 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001748/0.009493, allocations: 23.95 kB / 0.6244 GB, free: 6.879 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0007745/0.01027, allocations: 0.7662 MB / 0.6252 GB, free: 6.074 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000209/0.01048, allocations: 95.88 kB / 0.6253 GB, free: 5.98 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.01048, allocations: 0 / 0.6253 GB, free: 5.98 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.046e-05/0.01055, allocations: 47.91 kB / 0.6253 GB, free: 5.934 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.01079, allocations: 20.12 kB / 0.6253 GB, free: 5.914 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.01243, allocations: 1.899 MB / 0.6272 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.93e-05/0.0125, allocations: 98.78 kB / 0.6273 GB, free: 3.801 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.675e-05/0.01254, allocations: 13.14 kB / 0.6273 GB, free: 3.789 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.669e-05/0.01261, allocations: 44.48 kB / 0.6273 GB, free: 3.746 MB / 0.5886 GB Notification: Performance of SimCode: time 8.11e-07/0.01261, allocations: 0 / 0.6273 GB, free: 3.746 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0195/0.03211, allocations: 3.532 MB / 0.6308 GB, free: 388 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.928/6.96, allocations: 17.64 kB / 0.6308 GB, free: 384 kB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line_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_Line.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.838888899423182] Failed to read output from testmodel.py, exit status != 0: 7.043149561621249 7.05330274 7.047415342 Calling exit ...