Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.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.0008272/0.0008272, 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.0009547/0.0009547, 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.9291/0.9291, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.746/0.746, 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.MultiMax,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.895e-06/2.895e-06, allocations: 0 / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.724e-05/2.014e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.00116/0.00118, allocations: 0.6318 MB / 0.6187 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000138/0.001318, allocations: 19.91 kB / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.939e-05/0.001358, allocations: 0 / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.401e-05/0.001452, allocations: 0 / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.012e-05/0.001492, allocations: 3.938 kB / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 6.919e-05/0.001561, allocations: 8 kB / 0.6188 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.841e-05/0.001639, allocations: 27.92 kB / 0.6188 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.00177, allocations: 19.92 kB / 0.6188 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.901e-05/0.001809, allocations: 23.91 kB / 0.6188 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.299e-05/0.001842, allocations: 11.98 kB / 0.6188 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.001866, allocations: 4 kB / 0.6188 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.196e-05/0.001878, allocations: 4 kB / 0.6188 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.534e-05/0.001913, allocations: 11.94 kB / 0.6189 GB, free: 12.87 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.086e-05/0.001944, allocations: 11.98 kB / 0.6189 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.002046, allocations: 43.88 kB / 0.6189 GB, free: 12.81 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.002048, allocations: 4 kB / 0.6189 GB, free: 12.81 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.573e-06/0.00205, allocations: 0 / 0.6189 GB, free: 12.81 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.002054, allocations: 0 / 0.6189 GB, free: 12.81 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003216/0.002376, allocations: 278.2 kB / 0.6192 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.00242, allocations: 9.469 kB / 0.6192 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.387e-05/0.002454, allocations: 38.75 kB / 0.6192 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.403e-05/0.002478, allocations: 4.891 kB / 0.6192 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.002623, allocations: 129.7 kB / 0.6194 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.002632, allocations: 4.375 kB / 0.6194 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.002643, allocations: 8.375 kB / 0.6194 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.002791, allocations: 77.17 kB / 0.6194 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.0028, allocations: 4.188 kB / 0.6194 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.00281, allocations: 4.375 kB / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.002817, allocations: 4.125 kB / 0.6195 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.048e-05/0.002877, allocations: 47.97 kB / 0.6195 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004173/0.003295, allocations: 454.2 kB / 0.6199 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.165e-05/0.003356, allocations: 173.1 kB / 0.6201 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.134e-05/0.003378, allocations: 80.14 kB / 0.6202 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.003396, allocations: 75.28 kB / 0.6202 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.003426, allocations: 109.8 kB / 0.6204 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.003427, allocations: 0 / 0.6204 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 5.468e-05/0.003481, allocations: 41.64 kB / 0.6204 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.003522, allocations: 130.6 kB / 0.6205 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.003641, allocations: 172 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.236e-06/0.003649, allocations: 25.7 kB / 0.6207 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.861e-05/0.003698, allocations: 100.1 kB / 0.6208 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.0037, allocations: 0 / 0.6208 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.197e-05/0.003722, allocations: 9.719 kB / 0.6208 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.262e-05/0.003794, allocations: 322.8 kB / 0.6211 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.407e-05/0.003808, allocations: 7.984 kB / 0.6211 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.01e-05/0.003818, allocations: 8 kB / 0.6211 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.21e-05/0.003851, allocations: 20.91 kB / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.003852, allocations: 0 / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.482e-05/0.003947, allocations: 49.64 kB / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.003959, allocations: 8 kB / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.003963, allocations: 0 / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.003974, allocations: 3.984 kB / 0.6212 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.735e-05/0.004032, allocations: 3.938 kB / 0.6212 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.004037, allocations: 4 kB / 0.6212 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.775e-05/0.004054, allocations: 15.83 kB / 0.6212 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.004065, allocations: 0 / 0.6212 GB, free: 10.24 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 (1): * Single equations (assignments): 1 * 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.077e-05/0.004136, allocations: 202.1 kB / 0.6214 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.526e-05/0.004171, allocations: 104.9 kB / 0.6215 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.523e-05/0.004207, allocations: 112.8 kB / 0.6216 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.161e-05/0.004248, allocations: 188.2 kB / 0.6218 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.116e-05/0.004289, allocations: 176.3 kB / 0.622 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.139e-05/0.004331, allocations: 184.2 kB / 0.6222 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.00448, allocations: 392.2 kB / 0.6225 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.511e-05/0.004505, allocations: 109 kB / 0.6226 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-05/0.004527, allocations: 104.9 kB / 0.6227 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.915e-05/0.004566, allocations: 180.4 kB / 0.6229 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.203e-05/0.004608, allocations: 188.3 kB / 0.6231 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-05/0.004648, allocations: 184.3 kB / 0.6233 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-05/0.004687, allocations: 188.2 kB / 0.6234 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.699e-05/0.004774, allocations: 303.8 kB / 0.6237 GB, free: 7.516 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.51e-05/0.004809, allocations: 116.9 kB / 0.6238 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.609e-05/0.004855, allocations: 184.2 kB / 0.624 GB, free: 7.207 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.137e-05/0.004907, allocations: 108.9 kB / 0.6241 GB, free: 7.094 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.743e-05/0.004954, allocations: 176.3 kB / 0.6243 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.004976, allocations: 101 kB / 0.6244 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002202/0.005196, allocations: 137.7 kB / 0.6245 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.005196, allocations: 4 kB / 0.6245 GB, free: 6.672 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001418/0.005338, allocations: 8 kB / 0.6245 GB, free: 6.664 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 (0): * Single equations (assignments): 0 * 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.000239/0.005577, allocations: 0.8048 MB / 0.6253 GB, free: 5.828 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 5.789e-05/0.005635, allocations: 11.94 kB / 0.6253 GB, free: 5.816 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.005637, allocations: 0 / 0.6253 GB, free: 5.816 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.914e-06/0.005639, allocations: 4 kB / 0.6253 GB, free: 5.812 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.005927, allocations: 471.6 kB / 0.6258 GB, free: 5.348 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000892/0.006819, allocations: 1.605 MB / 0.6273 GB, free: 3.66 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.819e-05/0.006867, allocations: 83.38 kB / 0.6274 GB, free: 3.559 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.989e-05/0.006887, allocations: 4 kB / 0.6274 GB, free: 3.555 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.36e-05/0.006931, allocations: 16.5 kB / 0.6274 GB, free: 3.539 MB / 0.5886 GB Notification: Performance of SimCode: time 3.71e-07/0.006931, allocations: 0 / 0.6274 GB, free: 3.539 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01476/0.02169, allocations: 2.289 MB / 0.6297 GB, free: 1.391 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.669/6.69, allocations: 8 kB / 0.6297 GB, free: 1.383 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiMax.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.48986656498164] Failed to read output from testmodel.py, exit status != 0: 6.770499897189438 6.784650682 6.780791176 Calling exit ...