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.001153/0.001153, allocations: 101.5 kB / 18.95 MB, free: 1.188 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.001557/0.001557, allocations: 212 kB / 22.25 MB, free: 3.578 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.9916/0.9916, allocations: 230.6 MB / 256 MB, free: 9.605 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.807/0.807, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.001252/0.001252, allocations: 68.36 kB / 0.7182 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5957/0.5969, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002748/0.5997, allocations: 1.567 MB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005116/0.6002, allocations: 175.4 kB / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.489e-05/0.6002, allocations: 2.125 kB / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.844e-05/0.6003, allocations: 5.25 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.71e-05/0.6003, allocations: 3.938 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005056/0.6008, allocations: 53.77 kB / 0.8196 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.6009, allocations: 38.3 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.6011, allocations: 16 kB / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.813e-05/0.6012, allocations: 22.61 kB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.177e-05/0.6012, allocations: 15.2 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.6012, allocations: 3.25 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.6014, allocations: 50.34 kB / 0.8197 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.682e-05/0.6014, allocations: 10.56 kB / 0.8197 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.255e-05/0.6015, allocations: 13.92 kB / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.6017, allocations: 66.14 kB / 0.8198 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.6017, allocations: 0.7031 kB / 0.8198 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.857e-06/0.6017, allocations: 0 / 0.8198 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.6017, allocations: 3.938 kB / 0.8198 GB, free: 15.71 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.0004925/0.6022, allocations: 289 kB / 0.8201 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.6022, allocations: 8.281 kB / 0.8201 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.511e-05/0.6023, allocations: 35.36 kB / 0.8201 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.198e-05/0.6023, allocations: 5.359 kB / 0.8201 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.6024, allocations: 107.2 kB / 0.8202 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.6024, allocations: 0.8906 kB / 0.8202 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.6025, allocations: 2.25 kB / 0.8202 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.6026, allocations: 61.14 kB / 0.8203 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.6027, allocations: 9.281 kB / 0.8203 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.6027, allocations: 4.656 kB / 0.8203 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.6027, allocations: 5.375 kB / 0.8203 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.6028, allocations: 40.02 kB / 0.8203 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004761/0.6033, allocations: 248.4 kB / 0.8206 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003025/0.6036, allocations: 64.03 kB / 0.8206 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.715e-05/0.6037, allocations: 26.12 kB / 0.8206 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001704/0.6038, allocations: 15.52 kB / 0.8207 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.6039, allocations: 35.17 kB / 0.8207 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.893e-06/0.6039, allocations: 0 / 0.8207 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003296/0.6042, allocations: 93.92 kB / 0.8208 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.6042, allocations: 56.47 kB / 0.8208 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.543e-05/0.6043, allocations: 115.8 kB / 0.821 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.6043, allocations: 25.7 kB / 0.821 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.519e-05/0.6044, allocations: 92.95 kB / 0.8211 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.6044, allocations: 11.89 kB / 0.8211 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/0.6044, allocations: 19.25 kB / 0.8211 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.6046, allocations: 324.9 kB / 0.8214 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.609e-05/0.6046, allocations: 19.48 kB / 0.8214 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.972e-05/0.6047, allocations: 18.88 kB / 0.8214 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.6048, allocations: 45.64 kB / 0.8215 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6048, allocations: 0 / 0.8215 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001595/0.6049, allocations: 84.94 kB / 0.8216 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.605, allocations: 2.594 kB / 0.8216 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.605, allocations: 0.6562 kB / 0.8216 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.605, allocations: 1.562 kB / 0.8216 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.014e-05/0.6051, allocations: 18.44 kB / 0.8216 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.6051, allocations: 0 / 0.8216 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.41e-05/0.6051, allocations: 7 kB / 0.8216 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.6051, allocations: 1.281 kB / 0.8216 GB, free: 14.08 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 8.342e-05/0.6052, allocations: 123.5 kB / 0.8217 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.305e-05/0.6052, allocations: 0.75 kB / 0.8217 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002165/0.6054, allocations: 81.84 kB / 0.8218 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.6054, allocations: 0 / 0.8218 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.6054, allocations: 0 / 0.8218 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.6054, allocations: 0 / 0.8218 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.6056, allocations: 136.1 kB / 0.8219 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.6056, allocations: 0 / 0.8219 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.29e-05/0.6056, allocations: 21.45 kB / 0.8219 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.6056, allocations: 3.938 kB / 0.8219 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.6056, allocations: 0 / 0.8219 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.6056, allocations: 0 / 0.8219 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.6056, allocations: 0 / 0.8219 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/0.6058, allocations: 178.8 kB / 0.8221 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.122e-05/0.6058, allocations: 2.922 kB / 0.8221 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.6058, allocations: 0 / 0.8221 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.644e-05/0.6059, allocations: 10.48 kB / 0.8221 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.973e-05/0.6059, allocations: 9.953 kB / 0.8221 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.6059, allocations: 0.5 kB / 0.8221 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.755e-05/0.606, allocations: 88.05 kB / 0.8222 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.606, allocations: 0.7188 kB / 0.8222 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001949/0.6062, allocations: 21.62 kB / 0.8222 GB, free: 13.5 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.0005139/0.6067, allocations: 0.7317 MB / 0.823 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001929/0.6069, allocations: 46.94 kB / 0.823 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6069, allocations: 1.094 kB / 0.823 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.172e-05/0.607, allocations: 32.08 kB / 0.823 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.6072, allocations: 0.6094 kB / 0.823 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.609, allocations: 1.295 MB / 0.8243 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.437e-05/0.609, allocations: 62.39 kB / 0.8244 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.714e-05/0.609, allocations: 3.062 kB / 0.8244 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.317e-05/0.6091, allocations: 17.42 kB / 0.8244 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of SimCode: time 2.214e-06/0.6091, allocations: 0 / 0.8244 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01825/0.6274, allocations: 2.482 MB / 0.8268 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.693/7.321, allocations: 4.297 kB / 0.8268 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 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.411272278055549] Failed to read output from testmodel.py, exit status != 0: 7.396982668899 7.40833459 6.803872568 Calling exit ...