Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.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.001341/0.001341, allocations: 117.2 kB / 17.13 MB, free: 5.918 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: 191.7 kB / 20.08 MB, free: 2.988 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.512/1.512, allocations: 225.6 MB / 248.5 MB, free: 3.602 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.9591/0.9591, allocations: 129.2 MB / 432.5 MB, free: 13.19 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.Factorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Factorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Factorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Factorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 63.91 kB / 0.5987 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4178/0.4199, allocations: 83.44 MB / 0.6802 GB, free: 6 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.002079/0.422, allocations: 0.5862 MB / 0.6808 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003074/0.4223, allocations: 57.11 kB / 0.6808 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.716e-05/0.4223, allocations: 1.125 kB / 0.6808 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.364e-05/0.4223, allocations: 0 / 0.6808 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.983e-06/0.4223, allocations: 0 / 0.6808 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.4225, allocations: 15.73 kB / 0.6809 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.442e-05/0.4226, allocations: 2.594 kB / 0.6809 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.362e-05/0.4226, allocations: 1.406 kB / 0.6809 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.885e-05/0.4227, allocations: 1.438 kB / 0.6809 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.286e-05/0.4227, allocations: 9.219 kB / 0.6809 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.022e-05/0.4227, allocations: 0 / 0.6809 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.03e-05/0.4228, allocations: 12.98 kB / 0.6809 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.087e-05/0.4228, allocations: 3.984 kB / 0.6809 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.924e-05/0.4228, allocations: 5.062 kB / 0.6809 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.323e-05/0.4229, allocations: 7.875 kB / 0.6809 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4229, allocations: 0 / 0.6809 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.415e-06/0.4229, allocations: 0 / 0.6809 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.4229, allocations: 1.125 kB / 0.6809 GB, free: 5.48 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002818/0.4232, allocations: 311.7 kB / 0.6812 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.4232, allocations: 13.16 kB / 0.6812 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.443e-05/0.4233, allocations: 35.88 kB / 0.6812 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.249e-05/0.4233, allocations: 0.9375 kB / 0.6812 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.708e-05/0.4234, allocations: 165.4 kB / 0.6814 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.4234, allocations: 1.656 kB / 0.6814 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.4234, allocations: 384 / 0.6814 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.883e-05/0.4235, allocations: 33.39 kB / 0.6814 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.4235, allocations: 3.938 kB / 0.6814 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.124e-06/0.4235, allocations: 0 / 0.6814 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.4235, allocations: 4 kB / 0.6814 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.24e-05/0.4235, allocations: 15.98 kB / 0.6815 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001029/0.4236, allocations: 147.2 kB / 0.6816 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.693e-05/0.4237, allocations: 23.55 kB / 0.6816 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.584e-05/0.4237, allocations: 6.297 kB / 0.6816 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001486/0.4238, allocations: 84.72 kB / 0.6817 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.356e-05/0.4239, allocations: 34.56 kB / 0.6817 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.4239, allocations: 1.375 kB / 0.6817 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001658/0.424, allocations: 53.3 kB / 0.6818 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.424, allocations: 53.03 kB / 0.6818 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.669e-05/0.4241, allocations: 93.8 kB / 0.6819 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.4241, allocations: 25.7 kB / 0.682 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.989e-05/0.4241, allocations: 82.02 kB / 0.682 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.4241, allocations: 3.953 kB / 0.682 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.589e-05/0.4242, allocations: 16.38 kB / 0.6821 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.112e-05/0.4242, allocations: 316 kB / 0.6824 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.275e-05/0.4242, allocations: 1.188 kB / 0.6824 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.849e-06/0.4242, allocations: 6.547 kB / 0.6824 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.383e-05/0.4243, allocations: 13.7 kB / 0.6824 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4243, allocations: 0 / 0.6824 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.286e-05/0.4243, allocations: 41.8 kB / 0.6824 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.4243, allocations: 5.781 kB / 0.6824 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.4243, allocations: 8.031 kB / 0.6824 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.4244, allocations: 3.984 kB / 0.6824 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.017e-05/0.4244, allocations: 3.844 kB / 0.6824 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.4244, allocations: 0 / 0.6824 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.644e-05/0.4244, allocations: 2.812 kB / 0.6824 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.4244, allocations: 1.438 kB / 0.6824 GB, free: 3.73 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: 2 (n,fac) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.763e-05/0.4245, allocations: 112.4 kB / 0.6826 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.576e-06/0.4245, allocations: 1.719 kB / 0.6826 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.708e-05/0.4246, allocations: 55.28 kB / 0.6826 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.4246, allocations: 0 / 0.6826 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.4246, allocations: 1.031 kB / 0.6826 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.4246, allocations: 0 / 0.6826 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.403e-05/0.4247, allocations: 152.5 kB / 0.6828 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4247, allocations: 0 / 0.6828 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.177e-05/0.4247, allocations: 2.656 kB / 0.6828 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.4247, allocations: 0 / 0.6828 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.4247, allocations: 5.219 kB / 0.6828 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4247, allocations: 0 / 0.6828 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4247, allocations: 1.5 kB / 0.6828 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.736e-05/0.4248, allocations: 65.12 kB / 0.6828 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.058e-05/0.4248, allocations: 82.83 kB / 0.6829 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.4248, allocations: 7.875 kB / 0.6829 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.151e-05/0.4248, allocations: 4 kB / 0.6829 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.4249, allocations: 1.375 kB / 0.6829 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.4249, allocations: 9.078 kB / 0.6829 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.968e-05/0.4249, allocations: 75.28 kB / 0.683 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4e-08/0.4249, allocations: 5.094 kB / 0.683 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000217/0.4251, allocations: 3.844 kB / 0.683 GB, free: 3.094 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: 2 (fac,n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0003611/0.4255, allocations: 0.6031 MB / 0.6836 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001019/0.4256, allocations: 17.91 kB / 0.6836 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4256, allocations: 0 / 0.6836 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.85e-05/0.4256, allocations: 4.531 kB / 0.6836 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/0.4257, allocations: 5 kB / 0.6836 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003043/0.426, allocations: 119.9 kB / 0.6837 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/0.4262, allocations: 0.67 MB / 0.6844 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.484e-05/0.4262, allocations: 6.047 kB / 0.6844 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.078e-05/0.4262, allocations: 8.562 kB / 0.6844 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.4262, allocations: 1.094 kB / 0.6844 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0229/0.4491, allocations: 1.074 MB / 0.6855 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.001/8.45, allocations: 2.281 kB / 0.6855 GB, free: 0.9883 MB / 0.4981 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Factorial_fmu --startTime=0 --stopTime=12.9 --stepSize=0.00516 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Factorial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.961916151922196] Failed to read output from testmodel.py, exit status != 0: 8.518044854979962 8.538152203 8.112468099 Calling exit ...