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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 106.9 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 225.6 MB / 247.8 MB, free: 13.91 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.144/1.144, allocations: 175.8 MB / 478.4 MB, free: 8.441 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001926/0.001926, allocations: 67.3 kB / 0.6652 GB, free: 488 kB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1975, allocations: 94.54 MB / 0.7576 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.002872/0.2004, allocations: 0.5795 MB / 0.7581 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006282/0.201, allocations: 109.8 kB / 0.7582 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.046e-05/0.201, allocations: 0 / 0.7582 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.505e-05/0.2011, allocations: 11.98 kB / 0.7583 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.748e-06/0.2011, allocations: 0 / 0.7583 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005327/0.2016, allocations: 35.84 kB / 0.7583 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.2018, allocations: 67.92 kB / 0.7584 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.654e-05/0.2019, allocations: 0 / 0.7584 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.7e-05/0.202, allocations: 23.98 kB / 0.7584 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.62e-05/0.202, allocations: 23.95 kB / 0.7584 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.202, allocations: 4 kB / 0.7584 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.2022, allocations: 51.95 kB / 0.7585 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.473e-05/0.2023, allocations: 19.97 kB / 0.7585 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.742e-05/0.2023, allocations: 23.84 kB / 0.7585 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.2025, allocations: 76.06 kB / 0.7586 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2025, allocations: 0 / 0.7586 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.265e-06/0.2025, allocations: 0 / 0.7586 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.2025, allocations: 0 / 0.7586 GB, free: 0.8125 MB / 0.5762 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.0006357/0.2032, allocations: 379.3 kB / 0.7589 GB, free: 400 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.2032, allocations: 8.031 kB / 0.7589 GB, free: 392 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.057e-05/0.2033, allocations: 42.69 kB / 0.759 GB, free: 340 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.973e-05/0.2033, allocations: 12.88 kB / 0.759 GB, free: 328 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.2034, allocations: 164.4 kB / 0.7591 GB, free: 124 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.3983/0.6017, allocations: 274 kB / 0.7594 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.976e-05/0.6018, allocations: 5.25 kB / 0.7594 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002995/0.6021, allocations: 84.53 kB / 0.7595 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.6021, allocations: 0 / 0.7595 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.6021, allocations: 1.625 kB / 0.7595 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.6021, allocations: 4.734 kB / 0.7595 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003918/0.6025, allocations: 138.6 kB / 0.7596 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001871/0.6027, allocations: 178.6 kB / 0.7598 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.603, allocations: 88.61 kB / 0.7599 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.6031, allocations: 41.23 kB / 0.7599 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.6031, allocations: 4.422 kB / 0.7599 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.6032, allocations: 34.3 kB / 0.76 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.342e-06/0.6032, allocations: 0 / 0.76 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0005382/0.6037, allocations: 153.4 kB / 0.7601 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.6037, allocations: 53.75 kB / 0.7602 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.12e-05/0.6037, allocations: 90.47 kB / 0.7602 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.6038, allocations: 29.33 kB / 0.7603 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.11e-05/0.6038, allocations: 82.2 kB / 0.7604 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.246e-05/0.6038, allocations: 36.19 kB / 0.7604 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-05/0.6039, allocations: 31.34 kB / 0.7604 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.882e-05/0.6039, allocations: 320 kB / 0.7607 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.604, allocations: 32.03 kB / 0.7608 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.6042, allocations: 33.94 kB / 0.7608 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002426/0.6044, allocations: 78.39 kB / 0.7609 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.6044, allocations: 1.156 kB / 0.7609 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000326/0.6047, allocations: 115.1 kB / 0.761 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.6047, allocations: 8.062 kB / 0.761 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.6048, allocations: 0 / 0.761 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.6048, allocations: 2.312 kB / 0.761 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.6049, allocations: 23.83 kB / 0.761 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.6049, allocations: 3.906 kB / 0.761 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.725e-05/0.605, allocations: 14.09 kB / 0.761 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.605, allocations: 5.906 kB / 0.761 GB, free: 8.027 MB / 0.5762 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.547e-05/0.6051, allocations: 121.2 kB / 0.7611 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.6051, allocations: 2.766 kB / 0.7611 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.399e-05/0.6051, allocations: 11.14 kB / 0.7612 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.6051, allocations: 2.688 kB / 0.7612 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.6052, allocations: 2.875 kB / 0.7612 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.6052, allocations: 0.8438 kB / 0.7612 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.6053, allocations: 188.6 kB / 0.7613 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.6053, allocations: 2.219 kB / 0.7613 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.6054, allocations: 27.25 kB / 0.7614 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.6054, allocations: 1.328 kB / 0.7614 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.6054, allocations: 5.094 kB / 0.7614 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.6054, allocations: 3.594 kB / 0.7614 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.6054, allocations: 0.75 kB / 0.7614 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003437/0.6058, allocations: 144 kB / 0.7615 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.156e-05/0.6058, allocations: 79.41 kB / 0.7616 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.6058, allocations: 4.219 kB / 0.7616 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.7e-05/0.6059, allocations: 6.938 kB / 0.7616 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.972e-05/0.6059, allocations: 14.83 kB / 0.7616 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.6059, allocations: 4.031 kB / 0.7616 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.335e-05/0.6059, allocations: 76.78 kB / 0.7617 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5e-08/0.6059, allocations: 3.844 kB / 0.7617 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000242/0.6062, allocations: 24.16 kB / 0.7617 GB, free: 7.465 MB / 0.5762 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.0006706/0.6069, allocations: 0.7017 MB / 0.7624 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003259/0.6072, allocations: 85.83 kB / 0.7625 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.6072, allocations: 1.125 kB / 0.7625 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.6073, allocations: 49.58 kB / 0.7625 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.6075, allocations: 9.219 kB / 0.7625 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005131/0.608, allocations: 199.9 kB / 0.7627 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.6081, allocations: 0.6921 MB / 0.7634 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002307/0.6084, allocations: 37.86 kB / 0.7634 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.888e-05/0.6084, allocations: 20.73 kB / 0.7635 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of SimCode: time 2.8e-07/0.6084, allocations: 0 / 0.7635 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0262/0.6346, allocations: 2.026 MB / 0.7654 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.036/8.671, allocations: 7.375 kB / 0.7655 GB, free: 5.605 MB / 0.5762 GB " [Timeout remaining time 651] (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: 12.440873114392161] Failed to read output from testmodel.py, exit status != 0: 8.737977107986808 8.749728426 8.544817511 Calling exit ...