Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.0008464/0.0008464, 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.0009039/0.0009039, allocations: 170.3 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.8716/0.8716, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.6906/0.6906, allocations: 154.6 MB / 413.7 MB, free: 0.8164 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.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.561e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.002025/0.002051, allocations: 0.601 MB / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004169/0.002467, allocations: 111.5 kB / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.267e-05/0.00249, allocations: 0 / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.223e-05/0.002522, allocations: 0 / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.234e-06/0.00253, allocations: 0 / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004786/0.003008, allocations: 39.88 kB / 0.6188 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.00316, allocations: 59.94 kB / 0.6189 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.795e-05/0.003208, allocations: 7.984 kB / 0.6189 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.33e-05/0.003271, allocations: 27.97 kB / 0.6189 GB, free: 12.85 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.452e-05/0.003326, allocations: 23.95 kB / 0.6189 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.003349, allocations: 8 kB / 0.6189 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.003508, allocations: 51.88 kB / 0.619 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.665e-05/0.003555, allocations: 19.97 kB / 0.619 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.208e-05/0.003587, allocations: 19.91 kB / 0.619 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.003795, allocations: 83.81 kB / 0.6191 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.003799, allocations: 0 / 0.6191 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.256e-06/0.003802, allocations: 3.984 kB / 0.6191 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.003807, allocations: 0 / 0.6191 GB, free: 12.64 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.0005384/0.004346, allocations: 298.3 kB / 0.6194 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.0044, allocations: 9.469 kB / 0.6194 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.092e-05/0.004451, allocations: 42.75 kB / 0.6195 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.004496, allocations: 16.88 kB / 0.6195 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.317e-05/0.004579, allocations: 109.7 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003615/0.00494, allocations: 0.5299 MB / 0.6201 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.004962, allocations: 4.375 kB / 0.6201 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002502/0.005212, allocations: 78.2 kB / 0.6202 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.005223, allocations: 192 / 0.6202 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.005237, allocations: 384 / 0.6202 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.005247, allocations: 7.938 kB / 0.6202 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003023/0.005549, allocations: 127.8 kB / 0.6203 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001973/0.005747, allocations: 140.8 kB / 0.6204 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002618/0.006008, allocations: 94.58 kB / 0.6205 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.00612, allocations: 44.98 kB / 0.6206 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.129e-05/0.006151, allocations: 3.938 kB / 0.6206 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.006182, allocations: 34.56 kB / 0.6206 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 2.104e-06/0.006184, allocations: 0 / 0.6206 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0005257/0.00671, allocations: 153.4 kB / 0.6208 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.006764, allocations: 55.41 kB / 0.6208 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.41e-05/0.006808, allocations: 93.84 kB / 0.6209 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.006826, allocations: 25.7 kB / 0.6209 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.025e-05/0.006857, allocations: 84.14 kB / 0.621 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.768e-05/0.006934, allocations: 39.69 kB / 0.621 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-05/0.007, allocations: 29.64 kB / 0.6211 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.007122, allocations: 322.8 kB / 0.6214 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.007238, allocations: 27.98 kB / 0.6214 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.725e-05/0.007335, allocations: 27.97 kB / 0.6214 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.00755, allocations: 80.53 kB / 0.6215 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.007554, allocations: 0 / 0.6215 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002728/0.007826, allocations: 113.5 kB / 0.6216 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.007849, allocations: 8 kB / 0.6216 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.007856, allocations: 4 kB / 0.6216 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.007876, allocations: 7.922 kB / 0.6216 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.008014, allocations: 19.98 kB / 0.6216 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.008021, allocations: 4 kB / 0.6217 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.886e-05/0.00807, allocations: 11.95 kB / 0.6217 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.008085, allocations: 3.984 kB / 0.6217 GB, free: 9.715 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 8.619e-05/0.008171, allocations: 118.8 kB / 0.6218 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.639e-05/0.008188, allocations: 0 / 0.6218 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.208e-05/0.00824, allocations: 15.94 kB / 0.6218 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.008246, allocations: 7.938 kB / 0.6218 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.008253, allocations: 4 kB / 0.6218 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.008256, allocations: 0 / 0.6218 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.008394, allocations: 148.6 kB / 0.6219 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.008396, allocations: 4 kB / 0.622 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.008506, allocations: 31.91 kB / 0.622 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.008509, allocations: 0 / 0.622 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.008522, allocations: 4 kB / 0.622 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.008526, allocations: 3.938 kB / 0.622 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.008528, allocations: 0 / 0.622 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003089/0.008837, allocations: 137 kB / 0.6221 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.199e-05/0.008849, allocations: 8 kB / 0.6221 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.008867, allocations: 4 kB / 0.6221 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.556e-05/0.008912, allocations: 7.938 kB / 0.6221 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.874e-05/0.008981, allocations: 19.91 kB / 0.6222 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/0.00899, allocations: 4 kB / 0.6222 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.563e-05/0.009026, allocations: 79.22 kB / 0.6222 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9e-08/0.009026, allocations: 0 / 0.6222 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002783/0.009304, allocations: 27.92 kB / 0.6223 GB, free: 9.023 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0007124/0.01002, allocations: 0.6944 MB / 0.6229 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002927/0.01031, allocations: 83.88 kB / 0.623 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.01031, allocations: 0 / 0.623 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.01043, allocations: 54.95 kB / 0.6231 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/0.0106, allocations: 6.125 kB / 0.6231 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005659/0.01116, allocations: 194.5 kB / 0.6233 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.645e-05/0.01123, allocations: 67.34 kB / 0.6233 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001958/0.01142, allocations: 39.95 kB / 0.6234 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.105e-05/0.01149, allocations: 24.48 kB / 0.6234 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of SimCode: time 1.142e-06/0.01149, allocations: 0 / 0.6234 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02142/0.03291, allocations: 2.656 MB / 0.626 GB, free: 5.273 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.076/7.109, allocations: 3.406 kB / 0.626 GB, free: 5.273 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --stepSize=0.00636 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Binomial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.726172741502523] Failed to read output from testmodel.py, exit status != 0: 7.192336174659431 7.200795563 7.195248774 Calling exit ...