Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.000775/0.000775, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0007875/0.0007875, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.9217/0.9217, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.571/0.571, allocations: 114 MB / 373.9 MB, free: 8.734 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Binomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.5542 GB, free: 2.805 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.476e-05/1.66e-05, allocations: 11.77 kB / 0.5542 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.002337/0.002354, allocations: 1.541 MB / 0.5557 GB, free: 1.242 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0003406/0.002694, allocations: 175.4 kB / 0.5559 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.112e-05/0.002725, allocations: 0 / 0.5559 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.504e-05/0.00275, allocations: 7.938 kB / 0.5559 GB, free: 1.062 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 3.669e-05/0.002787, allocations: 3.938 kB / 0.5559 GB, free: 1.059 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.003096, allocations: 55.81 kB / 0.5559 GB, free: 1.004 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.277e-05/0.003159, allocations: 35.91 kB / 0.556 GB, free: 0.9688 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.284e-05/0.003252, allocations: 8 kB / 0.556 GB, free: 0.9609 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 3.717e-05/0.003289, allocations: 27.91 kB / 0.556 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 3.652e-05/0.003326, allocations: 11.98 kB / 0.556 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.003341, allocations: 4 kB / 0.556 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 9.875e-05/0.00344, allocations: 51.88 kB / 0.5561 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.075e-05/0.003451, allocations: 7.984 kB / 0.5561 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.71e-05/0.003468, allocations: 11.94 kB / 0.5561 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.003606, allocations: 87.75 kB / 0.5562 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.003608, allocations: 0 / 0.5562 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.81e-07/0.003609, allocations: 0 / 0.5562 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.003612, allocations: 0 / 0.5562 GB, free: 0.7617 MB / 0.5105 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.0004306/0.004043, allocations: 282.2 kB / 0.5564 GB, free: 464 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.004091, allocations: 8.625 kB / 0.5565 GB, free: 456 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.808e-05/0.004129, allocations: 34.75 kB / 0.5565 GB, free: 412 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.721e-05/0.004157, allocations: 8.875 kB / 0.5565 GB, free: 404 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.917e-05/0.004256, allocations: 109.8 kB / 0.5566 GB, free: 268 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.00428, allocations: 4.375 kB / 0.5566 GB, free: 264 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.004291, allocations: 12.36 kB / 0.5566 GB, free: 252 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.004428, allocations: 66.16 kB / 0.5567 GB, free: 180 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.004434, allocations: 192 / 0.5567 GB, free: 180 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.004441, allocations: 384 / 0.5567 GB, free: 180 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.882e-06/0.004447, allocations: 8.125 kB / 0.5567 GB, free: 172 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.004551, allocations: 43.95 kB / 0.5567 GB, free: 128 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003199/0.004871, allocations: 236 kB / 0.557 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.005069, allocations: 70.41 kB / 0.557 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.996e-05/0.005119, allocations: 24.91 kB / 0.557 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001208/0.00524, allocations: 11.98 kB / 0.5571 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.005257, allocations: 34.56 kB / 0.5571 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.005258, allocations: 0 / 0.5571 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0002357/0.005494, allocations: 93.62 kB / 0.5572 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.005519, allocations: 55.41 kB / 0.5572 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.472e-05/0.005573, allocations: 117.8 kB / 0.5573 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.005584, allocations: 25.7 kB / 0.5574 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.398e-05/0.005618, allocations: 92.03 kB / 0.5575 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.19e-05/0.00563, allocations: 7.953 kB / 0.5575 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/0.005658, allocations: 17.7 kB / 0.5575 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.835e-05/0.005726, allocations: 314.8 kB / 0.5578 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.448e-05/0.005771, allocations: 23.97 kB / 0.5578 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.849e-05/0.005809, allocations: 15.98 kB / 0.5578 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.337e-05/0.005893, allocations: 48.81 kB / 0.5579 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.005894, allocations: 4 kB / 0.5579 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001502/0.006044, allocations: 73.59 kB / 0.5579 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.006061, allocations: 8 kB / 0.5579 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.006065, allocations: 3.938 kB / 0.5579 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.006079, allocations: 0 / 0.5579 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.074e-05/0.006139, allocations: 15.98 kB / 0.558 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.006144, allocations: 0 / 0.558 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.571e-05/0.00618, allocations: 7.984 kB / 0.558 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.006185, allocations: 0 / 0.558 GB, free: 14.72 MB / 0.5261 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 6.207e-05/0.006247, allocations: 113.8 kB / 0.5581 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.006271, allocations: 7.891 kB / 0.5581 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001849/0.006456, allocations: 81.97 kB / 0.5582 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.006458, allocations: 0 / 0.5582 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.006462, allocations: 4 kB / 0.5582 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.006467, allocations: 4.031 kB / 0.5582 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.006602, allocations: 140.7 kB / 0.5583 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.006603, allocations: 3.938 kB / 0.5583 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-05/0.006647, allocations: 15.92 kB / 0.5583 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.006651, allocations: 8 kB / 0.5583 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.006658, allocations: 0 / 0.5583 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.006659, allocations: 0 / 0.5583 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.006659, allocations: 0 / 0.5583 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.006832, allocations: 171.5 kB / 0.5585 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.07e-05/0.006842, allocations: 11.94 kB / 0.5585 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.006854, allocations: 0 / 0.5585 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6e-05/0.006914, allocations: 4 kB / 0.5585 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.006958, allocations: 7.984 kB / 0.5585 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.006964, allocations: 4 kB / 0.5585 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.972e-05/0.007004, allocations: 95.5 kB / 0.5586 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/0.007004, allocations: 0 / 0.5586 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002599/0.007264, allocations: 19.94 kB / 0.5586 GB, free: 13.96 MB / 0.5261 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.0003811/0.007645, allocations: 0.7202 MB / 0.5593 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001262/0.007771, allocations: 43.94 kB / 0.5594 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.007773, allocations: 4 kB / 0.5594 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.503e-05/0.007818, allocations: 23.92 kB / 0.5594 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.008002, allocations: 13.58 kB / 0.5594 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00085/0.008852, allocations: 1.302 MB / 0.5607 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.186e-05/0.008894, allocations: 63.34 kB / 0.5608 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.047e-05/0.008914, allocations: 0 / 0.5608 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.72e-05/0.008951, allocations: 24.48 kB / 0.5608 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of SimCode: time 2.81e-07/0.008952, allocations: 0 / 0.5608 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01488/0.02383, allocations: 2.606 MB / 0.5633 GB, free: 9.188 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.9/6.924, allocations: 6.125 kB / 0.5633 GB, free: 9.184 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_Binomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.444600908085704] Failed to read output from testmodel.py, exit status != 0: 7.005188039503992 7.013884004 7.008513959 Calling exit ...