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.0008676/0.0008676, 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.0009315/0.0009315, 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.914/0.914, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.739/0.739, allocations: 154.6 MB / 413.7 MB, free: 0.8086 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 1.934e-06/1.934e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.834e-05/2.028e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001122/0.001143, allocations: 0.596 MB / 0.6187 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002995/0.001442, allocations: 103.5 kB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.767e-05/0.00146, allocations: 8 kB / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.715e-05/0.001487, allocations: 0 / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.913e-06/0.001494, allocations: 0 / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.001841, allocations: 35.89 kB / 0.6188 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.001954, allocations: 63.92 kB / 0.6189 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.929e-05/0.001994, allocations: 4 kB / 0.6189 GB, free: 12.85 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.693e-05/0.002041, allocations: 35.95 kB / 0.6189 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.375e-05/0.002074, allocations: 19.95 kB / 0.6189 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.002092, allocations: 4 kB / 0.6189 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.002204, allocations: 55.88 kB / 0.619 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.429e-05/0.002239, allocations: 19.92 kB / 0.619 GB, free: 12.72 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.191e-05/0.002261, allocations: 19.97 kB / 0.619 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.002406, allocations: 87.8 kB / 0.6191 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.002407, allocations: 0 / 0.6191 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.52e-07/0.002408, allocations: 0 / 0.6191 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.002413, allocations: 0 / 0.6191 GB, free: 12.61 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.0003569/0.00277, allocations: 298.2 kB / 0.6194 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.002809, allocations: 13.47 kB / 0.6194 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.321e-05/0.002842, allocations: 34.75 kB / 0.6194 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.002875, allocations: 12.89 kB / 0.6195 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.57e-05/0.002931, allocations: 109.7 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002398/0.003171, allocations: 0.5377 MB / 0.6201 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.003182, allocations: 4.375 kB / 0.6201 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.003342, allocations: 78.19 kB / 0.6202 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.00335, allocations: 192 / 0.6202 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.003363, allocations: 8.359 kB / 0.6202 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.003369, allocations: 3.938 kB / 0.6202 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001855/0.003555, allocations: 127.8 kB / 0.6203 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001341/0.003689, allocations: 136.8 kB / 0.6204 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.003857, allocations: 101.9 kB / 0.6205 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.52e-05/0.003932, allocations: 40.83 kB / 0.6206 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.003954, allocations: 8 kB / 0.6206 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.003972, allocations: 30.56 kB / 0.6206 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 9.82e-07/0.003973, allocations: 3.938 kB / 0.6206 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0003169/0.00429, allocations: 153.4 kB / 0.6208 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.00432, allocations: 51.41 kB / 0.6208 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.081e-05/0.004351, allocations: 93.86 kB / 0.6209 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.004363, allocations: 29.92 kB / 0.6209 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.013e-05/0.004383, allocations: 80.14 kB / 0.621 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.72e-05/0.00442, allocations: 39.62 kB / 0.621 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/0.004454, allocations: 29.7 kB / 0.6211 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.629e-05/0.00453, allocations: 318.8 kB / 0.6214 GB, free: 10 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.822e-05/0.004598, allocations: 27.97 kB / 0.6214 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.404e-05/0.004662, allocations: 35.97 kB / 0.6214 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.004805, allocations: 76.81 kB / 0.6215 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.004807, allocations: 0 / 0.6215 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000172/0.004979, allocations: 111.4 kB / 0.6216 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.004993, allocations: 10.19 kB / 0.6216 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.004997, allocations: 0 / 0.6216 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.005009, allocations: 3.938 kB / 0.6216 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.074e-05/0.0051, allocations: 31.97 kB / 0.6217 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.005105, allocations: 0 / 0.6217 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.815e-05/0.005133, allocations: 7.953 kB / 0.6217 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.005141, allocations: 4 kB / 0.6217 GB, free: 9.691 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 6.39e-05/0.005205, allocations: 118.8 kB / 0.6218 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.887e-06/0.005214, allocations: 4 kB / 0.6218 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.096e-05/0.005245, allocations: 11.97 kB / 0.6218 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.005248, allocations: 3.938 kB / 0.6218 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.005254, allocations: 8 kB / 0.6218 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.005256, allocations: 0 / 0.6218 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.786e-05/0.005344, allocations: 156.6 kB / 0.622 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.005345, allocations: 3.938 kB / 0.622 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.168e-05/0.005397, allocations: 23.98 kB / 0.622 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.005399, allocations: 0 / 0.622 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.005407, allocations: 3.984 kB / 0.622 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.00541, allocations: 7.938 kB / 0.622 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.005411, allocations: 0 / 0.622 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.005596, allocations: 137 kB / 0.6221 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-06/0.005603, allocations: 4 kB / 0.6221 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.005615, allocations: 3.984 kB / 0.6221 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.573e-05/0.005641, allocations: 15.94 kB / 0.6221 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.777e-05/0.005689, allocations: 15.91 kB / 0.6222 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.005694, allocations: 4 kB / 0.6222 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.255e-05/0.005716, allocations: 75.28 kB / 0.6222 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005716, allocations: 0 / 0.6222 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000168/0.005884, allocations: 27.88 kB / 0.6223 GB, free: 9 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.00055/0.006434, allocations: 0.6937 MB / 0.6229 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002098/0.006644, allocations: 83.27 kB / 0.623 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.006646, allocations: 8 kB / 0.623 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.134e-05/0.006728, allocations: 43.91 kB / 0.6231 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001158/0.006843, allocations: 15.88 kB / 0.6231 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004084/0.007252, allocations: 194.5 kB / 0.6233 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.862e-05/0.007311, allocations: 67.34 kB / 0.6233 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 9.952e-05/0.00741, allocations: 39.95 kB / 0.6234 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.744e-05/0.007457, allocations: 20.48 kB / 0.6234 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of SimCode: time 6.01e-07/0.007458, allocations: 4 kB / 0.6234 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01658/0.02404, allocations: 2.649 MB / 0.626 GB, free: 5.25 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.762/6.786, allocations: 11.33 kB / 0.626 GB, free: 5.242 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial_res.csv --start-time 0 --stop-time 15.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00636 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.664140682667494] Failed to read output from testmodel.py, exit status != 0: 6.8703612219542265 6.886946284 6.881397262 Calling exit ...