Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.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.0007338/0.0007338, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0007823/0.0007823, allocations: 223.7 kB / 22.26 MB, free: 3.703 MB / 13.93 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.9338/0.9338, allocations: 230.6 MB / 256 MB, free: 9.785 MB / 202.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.7852/0.7852, allocations: 203.8 MB / 0.5042 GB, free: 10.74 MB / 410.7 MB " [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.Max,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009548/0.0009548, allocations: 66.3 kB / 0.7183 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5415/0.5424, allocations: 102 MB / 0.8179 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Max): time 0.001456/0.5439, allocations: 0.7037 MB / 0.8186 GB, free: 0.8164 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006883/0.5446, allocations: 0.841 MB / 0.8194 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.494e-05/0.5446, allocations: 1.438 kB / 0.8194 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.626e-05/0.5447, allocations: 3.938 kB / 0.8194 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.25e-05/0.5447, allocations: 6.906 kB / 0.8194 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001057/0.5448, allocations: 13.03 kB / 0.8194 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.019e-05/0.5449, allocations: 42.56 kB / 0.8195 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.784e-05/0.545, allocations: 13.97 kB / 0.8195 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.362e-05/0.5451, allocations: 22.16 kB / 0.8195 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.392e-05/0.5451, allocations: 22.28 kB / 0.8195 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.5451, allocations: 2.688 kB / 0.8195 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.04e-05/0.5451, allocations: 4.875 kB / 0.8195 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.731e-05/0.5452, allocations: 6.062 kB / 0.8195 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.418e-05/0.5452, allocations: 16.48 kB / 0.8196 GB, free: 100 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.172e-05/0.5453, allocations: 45.7 kB / 0.8196 GB, free: 84 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.5453, allocations: 4.562 kB / 0.8196 GB, free: 80 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.364e-06/0.5453, allocations: 0 / 0.8196 GB, free: 80 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.5453, allocations: 4 kB / 0.8196 GB, free: 76 kB / 0.6042 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.0003903/0.5457, allocations: 287 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.5457, allocations: 12.97 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.79e-05/0.5457, allocations: 31.88 kB / 0.8199 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.457e-05/0.5458, allocations: 8.109 kB / 0.8199 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.767e-05/0.5459, allocations: 109.2 kB / 0.82 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.5459, allocations: 7.906 kB / 0.82 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.5459, allocations: 384 / 0.82 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.546, allocations: 77.48 kB / 0.8201 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.546, allocations: 7.875 kB / 0.8201 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.625e-06/0.5461, allocations: 0 / 0.8201 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.5461, allocations: 1.312 kB / 0.8201 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.5462, allocations: 62.94 kB / 0.8202 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003055/0.5465, allocations: 247.7 kB / 0.8204 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.5466, allocations: 52.66 kB / 0.8205 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.864e-05/0.5467, allocations: 35.23 kB / 0.8205 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.5467, allocations: 3.188 kB / 0.8205 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.5468, allocations: 35.17 kB / 0.8205 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.5468, allocations: 0 / 0.8205 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003077/0.5471, allocations: 132.4 kB / 0.8207 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.5471, allocations: 55.41 kB / 0.8207 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.63e-05/0.5472, allocations: 108.2 kB / 0.8208 GB, free: 15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.5472, allocations: 25.7 kB / 0.8209 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.938e-05/0.5472, allocations: 92.52 kB / 0.8209 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.5472, allocations: 12.36 kB / 0.821 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.5473, allocations: 18.62 kB / 0.821 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.868e-05/0.5473, allocations: 314.2 kB / 0.8213 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.393e-05/0.5474, allocations: 34.47 kB / 0.8213 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.124e-05/0.5475, allocations: 34.42 kB / 0.8213 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.5476, allocations: 70.05 kB / 0.8214 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5476, allocations: 0 / 0.8214 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001738/0.5478, allocations: 98.92 kB / 0.8215 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.5478, allocations: 4.312 kB / 0.8215 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.5478, allocations: 1.188 kB / 0.8215 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.5479, allocations: 0 / 0.8215 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.028e-05/0.5479, allocations: 21.02 kB / 0.8215 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.5479, allocations: 0 / 0.8215 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.765e-05/0.548, allocations: 11.12 kB / 0.8215 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.548, allocations: 5.766 kB / 0.8215 GB, free: 14.45 MB / 0.6198 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 7.287e-05/0.5481, allocations: 117 kB / 0.8216 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.549e-05/0.5481, allocations: 5.859 kB / 0.8217 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002286/0.5483, allocations: 104.8 kB / 0.8218 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.5483, allocations: 0.7031 kB / 0.8218 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.5483, allocations: 5.344 kB / 0.8218 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.5483, allocations: 3.938 kB / 0.8218 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.5484, allocations: 149.9 kB / 0.8219 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.5484, allocations: 0 / 0.8219 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.065e-05/0.5485, allocations: 15.92 kB / 0.8219 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.5485, allocations: 4.688 kB / 0.8219 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.5485, allocations: 3.281 kB / 0.8219 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.5485, allocations: 4.656 kB / 0.8219 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5485, allocations: 0 / 0.8219 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/0.5487, allocations: 202 kB / 0.8221 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.164e-06/0.5487, allocations: 4.062 kB / 0.8221 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.899e-06/0.5487, allocations: 0 / 0.8221 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.342e-05/0.5488, allocations: 10.36 kB / 0.8221 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.5488, allocations: 3.672 kB / 0.8221 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.5488, allocations: 7.203 kB / 0.8222 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.634e-05/0.5489, allocations: 87.47 kB / 0.8222 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5489, allocations: 0 / 0.8222 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001521/0.549, allocations: 6.719 kB / 0.8222 GB, free: 13.86 MB / 0.6198 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.0004022/0.5494, allocations: 0.7297 MB / 0.823 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002024/0.5496, allocations: 71.88 kB / 0.823 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.5496, allocations: 0 / 0.823 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.034e-05/0.5497, allocations: 40.53 kB / 0.8231 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.55, allocations: 10.3 kB / 0.8231 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00037/0.5503, allocations: 166 kB / 0.8232 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/0.5505, allocations: 0.6774 MB / 0.8239 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.854e-05/0.5505, allocations: 2.25 kB / 0.8239 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.283e-05/0.5506, allocations: 18.56 kB / 0.8239 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of SimCode: time 4.41e-07/0.5506, allocations: 0 / 0.8239 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01839/0.569, allocations: 1.732 MB / 0.8256 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.752/7.321, allocations: 8.172 kB / 0.8256 GB, free: 11.84 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Max_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Max.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.156102884095162] Failed to read output from testmodel.py, exit status != 0: 7.397417692001909 7.409709866 6.861425376 Calling exit ...