Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001269/0.001269, allocations: 119 kB / 17.13 MB, free: 5.945 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.001299/0.001299, allocations: 192.7 kB / 20.08 MB, free: 3.012 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.439/1.439, allocations: 225.6 MB / 248.5 MB, free: 3.652 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.906/0.906, allocations: 129.2 MB / 432.5 MB, free: 13.11 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002307/0.002307, allocations: 59.91 kB / 0.5987 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4538/0.4562, allocations: 83.45 MB / 0.6802 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.001943/0.4581, allocations: 0.5811 MB / 0.6808 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004514/0.4586, allocations: 110 kB / 0.6809 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.614e-05/0.4586, allocations: 3.938 kB / 0.6809 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.632e-05/0.4586, allocations: 0 / 0.6809 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.965e-06/0.4586, allocations: 0 / 0.6809 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.4591, allocations: 41.84 kB / 0.6809 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.4592, allocations: 60.09 kB / 0.681 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.94e-05/0.4593, allocations: 1.125 kB / 0.681 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.73e-05/0.4593, allocations: 25.98 kB / 0.681 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.531e-05/0.4594, allocations: 28.83 kB / 0.6811 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.4594, allocations: 2.625 kB / 0.6811 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.4596, allocations: 54.66 kB / 0.6811 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.003e-05/0.4596, allocations: 20.88 kB / 0.6811 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.44e-05/0.4597, allocations: 21.52 kB / 0.6811 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.4598, allocations: 66.48 kB / 0.6812 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4598, allocations: 1.188 kB / 0.6812 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4598, allocations: 0 / 0.6812 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.4599, allocations: 0 / 0.6812 GB, free: 5.285 MB / 0.4981 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.000577/0.4604, allocations: 378.7 kB / 0.6816 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.4605, allocations: 8.969 kB / 0.6816 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.506e-05/0.4605, allocations: 46.75 kB / 0.6816 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.4606, allocations: 9.609 kB / 0.6816 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.921e-05/0.4607, allocations: 165.4 kB / 0.6818 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002304/0.4609, allocations: 279.4 kB / 0.6821 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.4609, allocations: 3.219 kB / 0.6821 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.4612, allocations: 89.59 kB / 0.6821 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.4612, allocations: 3.938 kB / 0.6822 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.4612, allocations: 5.188 kB / 0.6822 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.4612, allocations: 1.188 kB / 0.6822 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003209/0.4615, allocations: 136.1 kB / 0.6823 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001452/0.4617, allocations: 178.4 kB / 0.6825 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.462, allocations: 92.36 kB / 0.6825 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.4621, allocations: 39.55 kB / 0.6826 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.4621, allocations: 2.281 kB / 0.6826 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.4621, allocations: 39.62 kB / 0.6826 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.4621, allocations: 0 / 0.6826 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0004884/0.4626, allocations: 151.4 kB / 0.6828 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.4626, allocations: 57.09 kB / 0.6828 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.769e-05/0.4627, allocations: 94.95 kB / 0.6829 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.4627, allocations: 25.7 kB / 0.6829 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.361e-05/0.4627, allocations: 80.14 kB / 0.683 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.198e-05/0.4627, allocations: 40.7 kB / 0.6831 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.47e-05/0.4628, allocations: 33.89 kB / 0.6831 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.734e-05/0.4628, allocations: 312.9 kB / 0.6834 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.463, allocations: 35.28 kB / 0.6834 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.4631, allocations: 30.22 kB / 0.6834 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002411/0.4633, allocations: 78.84 kB / 0.6835 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.4633, allocations: 3.938 kB / 0.6835 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002978/0.4636, allocations: 113 kB / 0.6836 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.4637, allocations: 13.31 kB / 0.6836 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4637, allocations: 0 / 0.6836 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.4637, allocations: 0.9688 kB / 0.6836 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.4638, allocations: 20.95 kB / 0.6837 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.4638, allocations: 1.344 kB / 0.6837 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.663e-05/0.4639, allocations: 11.56 kB / 0.6837 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.4639, allocations: 2.938 kB / 0.6837 GB, free: 2.941 MB / 0.4981 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.046e-05/0.464, allocations: 122.9 kB / 0.6838 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.566e-05/0.464, allocations: 5.406 kB / 0.6838 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.436e-05/0.4641, allocations: 19.95 kB / 0.6838 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.4641, allocations: 1.469 kB / 0.6838 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.4641, allocations: 1.281 kB / 0.6838 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4641, allocations: 0 / 0.6838 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.4642, allocations: 183.6 kB / 0.684 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4642, allocations: 0 / 0.684 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.4643, allocations: 26.44 kB / 0.684 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.4643, allocations: 7.875 kB / 0.684 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.4643, allocations: 5.969 kB / 0.684 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.4643, allocations: 5.203 kB / 0.684 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4643, allocations: 4 kB / 0.684 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003308/0.4647, allocations: 137.2 kB / 0.6842 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.743e-05/0.4647, allocations: 87.22 kB / 0.6843 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.4647, allocations: 5.062 kB / 0.6843 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.305e-05/0.4648, allocations: 7.234 kB / 0.6843 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.575e-05/0.4648, allocations: 9.391 kB / 0.6843 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.4648, allocations: 10.16 kB / 0.6843 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.466e-05/0.4648, allocations: 80.34 kB / 0.6844 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5e-08/0.4648, allocations: 3.938 kB / 0.6844 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002416/0.4651, allocations: 25.02 kB / 0.6844 GB, free: 2.238 MB / 0.4981 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.000608/0.4657, allocations: 0.6929 MB / 0.6851 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003202/0.466, allocations: 87.09 kB / 0.6852 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.466, allocations: 0 / 0.6852 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.4661, allocations: 51.61 kB / 0.6852 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.4663, allocations: 2.281 kB / 0.6852 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004759/0.4668, allocations: 198.8 kB / 0.6854 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.642e-05/0.4669, allocations: 0.683 MB / 0.6861 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001689/0.467, allocations: 39.08 kB / 0.6861 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.445e-05/0.4671, allocations: 21.08 kB / 0.6861 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.4671, allocations: 0 / 0.6861 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0245/0.4916, allocations: 2.032 MB / 0.6881 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.963/8.454, allocations: 7.922 kB / 0.6881 GB, free: 15.52 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --stepSize=0.00636 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Binomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.886454682797194] Failed to read output from testmodel.py, exit status != 0: 8.522818075027317 8.537865375 8.074951555 Calling exit ...