Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Divide.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.0007604/0.0007604, allocations: 109.9 kB / 18.93 MB, free: 1.266 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.0008546/0.0008546, allocations: 213.7 kB / 22.26 MB, free: 3.688 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.9304/0.9304, allocations: 230.6 MB / 256 MB, free: 9.805 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.7951/0.7951, allocations: 203.8 MB / 0.5042 GB, free: 10.68 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.Divide,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Divide",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Divide,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Divide",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.000927/0.000927, allocations: 66.53 kB / 0.7183 GB, free: 4.277 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5179/0.5188, allocations: 102 MB / 0.8179 GB, free: 1.227 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Divide): time 0.001451/0.5203, allocations: 0.6956 MB / 0.8186 GB, free: 0.7773 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006827/0.521, allocations: 0.8407 MB / 0.8194 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.271e-05/0.521, allocations: 0 / 0.8194 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.798e-05/0.521, allocations: 0 / 0.8194 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.47e-05/0.5211, allocations: 11.8 kB / 0.8194 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 6.25e-05/0.5212, allocations: 12.03 kB / 0.8194 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.85e-05/0.5213, allocations: 40.27 kB / 0.8195 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.5214, allocations: 8.297 kB / 0.8195 GB, free: 108 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.506e-05/0.5214, allocations: 17.2 kB / 0.8195 GB, free: 100 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.045e-05/0.5215, allocations: 25.98 kB / 0.8195 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.5215, allocations: 7.594 kB / 0.8195 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.442e-06/0.5215, allocations: 3.344 kB / 0.8195 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.748e-05/0.5215, allocations: 6.672 kB / 0.8195 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.629e-05/0.5215, allocations: 23.3 kB / 0.8196 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.643e-05/0.5216, allocations: 44.06 kB / 0.8196 GB, free: 44 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5216, allocations: 0 / 0.8196 GB, free: 44 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5216, allocations: 3.938 kB / 0.8196 GB, free: 40 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.5216, allocations: 0 / 0.8196 GB, free: 40 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.0004573/0.5221, allocations: 290.7 kB / 0.8199 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.5221, allocations: 10.34 kB / 0.8199 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.135e-05/0.5222, allocations: 35.36 kB / 0.8199 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.379e-05/0.5222, allocations: 12.2 kB / 0.8199 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.581e-05/0.5223, allocations: 106.8 kB / 0.82 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.5223, allocations: 0.9844 kB / 0.82 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.5223, allocations: 3.656 kB / 0.82 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.5225, allocations: 70.83 kB / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.5225, allocations: 11.61 kB / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.5225, allocations: 0 / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.5225, allocations: 3.938 kB / 0.8201 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.5226, allocations: 64.75 kB / 0.8202 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004539/0.5231, allocations: 247.5 kB / 0.8204 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.5232, allocations: 48.36 kB / 0.8205 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.267e-05/0.5233, allocations: 37.31 kB / 0.8205 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.5233, allocations: 0 / 0.8205 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.5233, allocations: 40.38 kB / 0.8205 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.5233, allocations: 3.938 kB / 0.8206 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003133/0.5236, allocations: 126.6 kB / 0.8207 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.5237, allocations: 51.41 kB / 0.8207 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.082e-05/0.5237, allocations: 105.8 kB / 0.8208 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.896e-06/0.5238, allocations: 31.11 kB / 0.8209 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.799e-05/0.5238, allocations: 90.44 kB / 0.8209 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.5238, allocations: 14.11 kB / 0.821 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.523e-05/0.5238, allocations: 17.02 kB / 0.821 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.509e-05/0.5239, allocations: 315.5 kB / 0.8213 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.47e-05/0.524, allocations: 29.09 kB / 0.8213 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.864e-05/0.5241, allocations: 36.42 kB / 0.8213 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.5242, allocations: 73.05 kB / 0.8214 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5242, allocations: 0 / 0.8214 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001779/0.5244, allocations: 99.88 kB / 0.8215 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.5244, allocations: 3.5 kB / 0.8215 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.5244, allocations: 0.7188 kB / 0.8215 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.5244, allocations: 4.031 kB / 0.8215 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.719e-05/0.5245, allocations: 18.92 kB / 0.8215 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.5245, allocations: 0 / 0.8215 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.876e-05/0.5245, allocations: 13.77 kB / 0.8215 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.5245, allocations: 1.156 kB / 0.8215 GB, free: 14.41 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 5.415e-05/0.5246, allocations: 118.5 kB / 0.8216 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.274e-05/0.5246, allocations: 3.953 kB / 0.8217 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.94e-05/0.5246, allocations: 13.09 kB / 0.8217 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.5246, allocations: 3.938 kB / 0.8217 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.5246, allocations: 0 / 0.8217 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.5246, allocations: 0.5625 kB / 0.8217 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.5247, allocations: 141.1 kB / 0.8218 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.5247, allocations: 0 / 0.8218 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.124e-05/0.5248, allocations: 19.92 kB / 0.8218 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.5248, allocations: 4.562 kB / 0.8218 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.5248, allocations: 7.031 kB / 0.8218 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.5248, allocations: 0 / 0.8218 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5248, allocations: 0.6094 kB / 0.8218 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.525, allocations: 200.9 kB / 0.822 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-06/0.525, allocations: 7.953 kB / 0.822 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-06/0.525, allocations: 1.781 kB / 0.822 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.138e-05/0.5251, allocations: 11.42 kB / 0.822 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.5251, allocations: 3.609 kB / 0.822 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.5251, allocations: 1.469 kB / 0.8221 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.206e-05/0.5251, allocations: 91.3 kB / 0.8221 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5251, allocations: 0 / 0.8221 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001404/0.5253, allocations: 7.156 kB / 0.8221 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.0004089/0.5257, allocations: 0.7252 MB / 0.8229 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001899/0.5259, allocations: 71.91 kB / 0.8229 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.5259, allocations: 0 / 0.8229 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.862e-05/0.5259, allocations: 36.2 kB / 0.823 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.5262, allocations: 9.422 kB / 0.823 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003545/0.5265, allocations: 166.7 kB / 0.8231 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/0.5267, allocations: 0.6816 MB / 0.8238 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.665e-05/0.5268, allocations: 0.75 kB / 0.8238 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.793e-05/0.5268, allocations: 15.55 kB / 0.8238 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of SimCode: time 2.81e-07/0.5268, allocations: 0 / 0.8238 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01498/0.5418, allocations: 1.736 MB / 0.8255 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.792/7.334, allocations: 8.703 kB / 0.8255 GB, free: 11.84 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Divide.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Divide.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Divide_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Divide.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.165132641792297] Failed to read output from testmodel.py, exit status != 0: 7.40931500098668 7.420695879 6.897118118 Calling exit ...