Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.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.0008581/0.0008581, 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.001615/0.001615, allocations: 221.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 1/1, allocations: 230.6 MB / 256 MB, free: 9.801 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.811/0.811, 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.Utilities.Math.Examples.Binomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Binomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Binomial",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.0009413/0.0009413, allocations: 62.91 kB / 0.7182 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.552/0.5529, allocations: 102 MB / 0.8179 GB, free: 1.277 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002574/0.5555, allocations: 1.575 MB / 0.8194 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000441/0.5559, allocations: 183.3 kB / 0.8196 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.08e-05/0.556, allocations: 2.344 kB / 0.8196 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.942e-05/0.556, allocations: 4.734 kB / 0.8196 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.065e-05/0.5561, allocations: 0.7031 kB / 0.8196 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003891/0.5565, allocations: 60.8 kB / 0.8196 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.5566, allocations: 40.2 kB / 0.8197 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.5567, allocations: 15.88 kB / 0.8197 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.647e-05/0.5567, allocations: 11.62 kB / 0.8197 GB, free: 0 / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.28e-05/0.5568, allocations: 21.11 kB / 0.8197 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.5568, allocations: 8.688 kB / 0.8197 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.557, allocations: 58.23 kB / 0.8198 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.769e-05/0.557, allocations: 10.61 kB / 0.8198 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.112e-05/0.557, allocations: 17.12 kB / 0.8198 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.5572, allocations: 59.58 kB / 0.8199 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.5572, allocations: 0 / 0.8199 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.986e-06/0.5572, allocations: 0 / 0.8199 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.5572, allocations: 0 / 0.8199 GB, free: 15.92 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004781/0.5577, allocations: 288.3 kB / 0.8201 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.5578, allocations: 13.69 kB / 0.8202 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.871e-05/0.5578, allocations: 31.41 kB / 0.8202 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.97e-05/0.5578, allocations: 4.125 kB / 0.8202 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.5579, allocations: 111.2 kB / 0.8203 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.558, allocations: 8.281 kB / 0.8203 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.558, allocations: 384 / 0.8203 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.5582, allocations: 66.97 kB / 0.8204 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.5582, allocations: 3.938 kB / 0.8204 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.5582, allocations: 0 / 0.8204 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.5582, allocations: 4 kB / 0.8204 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.5583, allocations: 44.7 kB / 0.8204 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000393/0.5587, allocations: 251.5 kB / 0.8207 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/0.5589, allocations: 55.89 kB / 0.8207 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.809e-05/0.559, allocations: 29.23 kB / 0.8207 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001644/0.5592, allocations: 13.05 kB / 0.8208 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.5592, allocations: 30.56 kB / 0.8208 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.753e-06/0.5592, allocations: 1.094 kB / 0.8208 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002955/0.5595, allocations: 101.2 kB / 0.8209 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.5595, allocations: 56.44 kB / 0.8209 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.724e-05/0.5596, allocations: 111.8 kB / 0.821 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.5596, allocations: 30.22 kB / 0.8211 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.815e-05/0.5596, allocations: 91.92 kB / 0.8212 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.283e-05/0.5596, allocations: 4.656 kB / 0.8212 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.706e-05/0.5597, allocations: 18.53 kB / 0.8212 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.455e-05/0.5598, allocations: 323.9 kB / 0.8215 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.502e-05/0.5598, allocations: 22.03 kB / 0.8215 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.704e-05/0.5599, allocations: 24.94 kB / 0.8215 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.861e-05/0.56, allocations: 45.52 kB / 0.8216 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.56, allocations: 3.938 kB / 0.8216 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001369/0.5601, allocations: 84.23 kB / 0.8217 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.5601, allocations: 4.781 kB / 0.8217 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.5601, allocations: 4.75 kB / 0.8217 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.5601, allocations: 0 / 0.8217 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.038e-05/0.5602, allocations: 9.906 kB / 0.8217 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.5602, allocations: 3.922 kB / 0.8217 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.747e-05/0.5602, allocations: 3.219 kB / 0.8217 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.5602, allocations: 8.625 kB / 0.8217 GB, free: 14.29 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: 2 (bin.y,rea2Int.y) * 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 6.108e-05/0.5603, allocations: 109.8 kB / 0.8218 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.424e-05/0.5603, allocations: 3.719 kB / 0.8218 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001741/0.5605, allocations: 90.84 kB / 0.8219 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.5605, allocations: 2.281 kB / 0.8219 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.5605, allocations: 0.75 kB / 0.8219 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.5605, allocations: 0 / 0.8219 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.5606, allocations: 146.3 kB / 0.822 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5606, allocations: 0.5625 kB / 0.822 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.677e-05/0.5606, allocations: 11.17 kB / 0.822 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.5607, allocations: 4 kB / 0.822 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.5607, allocations: 0.6562 kB / 0.822 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.5607, allocations: 0 / 0.822 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.5607, allocations: 1.766 kB / 0.8221 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.5608, allocations: 173 kB / 0.8222 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.202e-05/0.5608, allocations: 2.156 kB / 0.8222 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.5609, allocations: 5.516 kB / 0.8222 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.021e-05/0.5609, allocations: 16.06 kB / 0.8222 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.584e-05/0.561, allocations: 7.312 kB / 0.8222 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.561, allocations: 3.938 kB / 0.8222 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.716e-05/0.561, allocations: 87.08 kB / 0.8223 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.561, allocations: 0 / 0.8223 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001899/0.5612, allocations: 17.33 kB / 0.8223 GB, free: 13.7 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: 2 (rea2Int.y,bin.y) * 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.0005087/0.5617, allocations: 0.7214 MB / 0.8231 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001818/0.5619, allocations: 53.48 kB / 0.8231 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.5619, allocations: 0 / 0.8231 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.678e-05/0.562, allocations: 24.53 kB / 0.8231 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.5622, allocations: 6.672 kB / 0.8231 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009982/0.5632, allocations: 1.296 MB / 0.8244 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001869/0.5634, allocations: 0.6792 MB / 0.8251 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.974e-05/0.5634, allocations: 11.5 kB / 0.8251 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.5635, allocations: 14.09 kB / 0.8251 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of SimCode: time 1.012e-06/0.5635, allocations: 0 / 0.8251 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01804/0.5815, allocations: 2.051 MB / 0.8271 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.677/7.259, allocations: 5.578 kB / 0.8271 GB, free: 10.62 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_Binomial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.263802579138428] Failed to read output from testmodel.py, exit status != 0: 7.334559838986024 7.345552993 6.786269175 Calling exit ...