Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.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.001121/0.001121, 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.000844/0.000844, 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.9331/0.9331, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.7268/0.7268, allocations: 154.5 MB / 413.7 MB, free: 0.8242 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.Average,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.889e-06/4.889e-06, allocations: 4 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.683e-05, allocations: 6.219 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.002072/0.002098, allocations: 0.6709 MB / 0.6188 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.003249, allocations: 0.8315 MB / 0.6196 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.142e-05/0.003291, allocations: 8 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.306e-05/0.003324, allocations: 3.938 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.131e-05/0.003395, allocations: 3.938 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 7.53e-05/0.00347, allocations: 15.98 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.729e-05/0.003568, allocations: 43.84 kB / 0.6197 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.003689, allocations: 11.94 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.792e-05/0.003787, allocations: 27.91 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.447e-05/0.003832, allocations: 15.97 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.003859, allocations: 4 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.266e-06/0.003867, allocations: 4 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.072e-05/0.003888, allocations: 11.94 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.003914, allocations: 11.98 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.004017, allocations: 39.88 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.00402, allocations: 0 / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.873e-06/0.004022, allocations: 3.938 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.004027, 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.0005062/0.004533, allocations: 286.2 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.004586, allocations: 13.47 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.848e-05/0.004625, allocations: 34.75 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.713e-05/0.004652, allocations: 8.891 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.004755, allocations: 117.7 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.004769, allocations: 4.375 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.004779, allocations: 384 / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.005005, allocations: 70.2 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.005015, allocations: 4.188 kB / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.005025, allocations: 384 / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.005032, allocations: 4.125 kB / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002271/0.005259, allocations: 71.86 kB / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004064/0.005665, allocations: 224.1 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.005836, allocations: 54.53 kB / 0.6206 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.005952, allocations: 32.92 kB / 0.6207 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.005967, allocations: 7.938 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.005995, allocations: 42.5 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.005996, allocations: 0 / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0004562/0.006453, allocations: 125.6 kB / 0.6208 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.00649, allocations: 51.41 kB / 0.6209 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.726e-05/0.006577, allocations: 113.8 kB / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.00659, allocations: 25.7 kB / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.866e-05/0.006639, allocations: 88.09 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.00666, allocations: 11.89 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.006699, allocations: 13.72 kB / 0.6211 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.006801, allocations: 318.8 kB / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.006914, allocations: 27.97 kB / 0.6215 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.007021, allocations: 31.95 kB / 0.6215 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/0.007229, allocations: 76.67 kB / 0.6216 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.007233, allocations: 3.984 kB / 0.6216 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002639/0.007497, allocations: 101.5 kB / 0.6217 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.007514, allocations: 4 kB / 0.6217 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.00752, allocations: 4 kB / 0.6217 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.007536, allocations: 4 kB / 0.6217 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.007643, allocations: 15.92 kB / 0.6217 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.007649, allocations: 0 / 0.6217 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.786e-05/0.007707, allocations: 11.98 kB / 0.6217 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.007714, allocations: 0 / 0.6217 GB, free: 9.789 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 0.0002445/0.007958, allocations: 122.8 kB / 0.6218 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.007985, allocations: 3.938 kB / 0.6218 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.169e-05/0.008017, allocations: 16 kB / 0.6218 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.008019, allocations: 336 / 0.6218 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.008025, allocations: 0 / 0.6218 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.008029, allocations: 4 kB / 0.6218 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.008194, allocations: 128.8 kB / 0.622 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.008198, allocations: 3.984 kB / 0.622 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.35e-05/0.008281, allocations: 23.91 kB / 0.622 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.008284, allocations: 0 / 0.622 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.008293, allocations: 0 / 0.622 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.008295, allocations: 0 / 0.622 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.008296, allocations: 4 kB / 0.622 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002897/0.008586, allocations: 195.4 kB / 0.6222 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.064e-05/0.008596, allocations: 3.938 kB / 0.6222 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.008611, allocations: 0 / 0.6222 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.861e-05/0.0087, allocations: 15.97 kB / 0.6222 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.008745, allocations: 7.938 kB / 0.6222 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.00875, allocations: 4 kB / 0.6222 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.089e-05/0.00879, allocations: 87.27 kB / 0.6223 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1e-07/0.008791, allocations: 0 / 0.6223 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002485/0.009039, allocations: 12 kB / 0.6223 GB, free: 9.094 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.0005895/0.009629, allocations: 0.7241 MB / 0.623 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002929/0.009922, allocations: 71.86 kB / 0.6231 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.009924, allocations: 0 / 0.6231 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.01004, allocations: 39.97 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.0003612/0.0104, allocations: 6.172 kB / 0.6231 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005252/0.01093, allocations: 146.6 kB / 0.6233 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.327e-05/0.01099, allocations: 83.2 kB / 0.6233 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.768e-05/0.01103, allocations: 3.938 kB / 0.6233 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.639e-05/0.01109, allocations: 12.5 kB / 0.6234 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of SimCode: time 7.42e-07/0.01109, allocations: 0 / 0.6234 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02273/0.03381, allocations: 2.326 MB / 0.6256 GB, free: 5.75 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.84/6.873, allocations: 11.45 kB / 0.6256 GB, free: 5.742 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Average_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Average.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.61534476839006] Failed to read output from testmodel.py, exit status != 0: 6.956349121406674 6.965912289 6.960013369 Calling exit ...