Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.001819/0.001819, allocations: 103.2 kB / 16.45 MB, free: 6.445 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.001998/0.001998, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.515/1.515, allocations: 225.6 MB / 247.8 MB, free: 3.762 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.9236/0.9236, allocations: 145.2 MB / 447.9 MB, free: 13.79 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Factorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Factorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 69.58 kB / 0.62 GB, free: 35.3 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1524, allocations: 86.66 MB / 0.7046 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.00171/0.1541, allocations: 0.5711 MB / 0.7052 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002851/0.1544, allocations: 51.84 kB / 0.7052 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.646e-05/0.1544, allocations: 0 / 0.7052 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.687e-05/0.1545, allocations: 0 / 0.7052 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.011e-06/0.1545, allocations: 0 / 0.7052 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.1547, allocations: 11.94 kB / 0.7052 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.752e-05/0.1547, allocations: 11.97 kB / 0.7052 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.215e-05/0.1548, allocations: 0 / 0.7052 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.164e-05/0.1548, allocations: 4 kB / 0.7053 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.276e-05/0.1548, allocations: 7.938 kB / 0.7053 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.977e-06/0.1548, allocations: 0 / 0.7053 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.858e-05/0.1549, allocations: 8 kB / 0.7053 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.157e-06/0.1549, allocations: 0 / 0.7053 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.869e-05/0.1549, allocations: 7.938 kB / 0.7053 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 7.686e-05/0.155, allocations: 11.97 kB / 0.7053 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.155, allocations: 0 / 0.7053 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.232e-06/0.155, allocations: 0 / 0.7053 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.155, allocations: 0 / 0.7053 GB, free: 2.602 MB / 0.5137 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.0003457/0.1553, allocations: 327.8 kB / 0.7056 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.1554, allocations: 8.031 kB / 0.7056 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.44e-05/0.1554, allocations: 34.75 kB / 0.7056 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.023e-05/0.1554, allocations: 0.9375 kB / 0.7056 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.1556, allocations: 168.3 kB / 0.7058 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.1556, allocations: 8.312 kB / 0.7058 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.332e-06/0.1556, allocations: 384 / 0.7058 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.992e-05/0.1557, allocations: 34.25 kB / 0.7058 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1557, allocations: 3.938 kB / 0.7058 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.071e-06/0.1557, allocations: 4 kB / 0.7059 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1557, allocations: 0 / 0.7059 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.923e-05/0.1557, allocations: 8 kB / 0.7059 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/0.1559, allocations: 145.7 kB / 0.706 GB, free: 1.723 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.352e-05/0.1559, allocations: 26.55 kB / 0.706 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.91e-05/0.1559, allocations: 9.328 kB / 0.706 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001574/0.1561, allocations: 85.09 kB / 0.7061 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.1561, allocations: 34.56 kB / 0.7061 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.1561, allocations: 0 / 0.7061 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0001394/0.1563, allocations: 41.64 kB / 0.7062 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.1563, allocations: 51.41 kB / 0.7062 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.775e-05/0.1564, allocations: 93.81 kB / 0.7063 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.1564, allocations: 33.62 kB / 0.7064 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.287e-05/0.1564, allocations: 80.14 kB / 0.7064 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.1564, allocations: 4 kB / 0.7064 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.1565, allocations: 17.84 kB / 0.7065 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1566, allocations: 314.8 kB / 0.7068 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.207e-06/0.1566, allocations: 0 / 0.7068 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.005e-05/0.1566, allocations: 4 kB / 0.7068 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.353e-05/0.1566, allocations: 16.84 kB / 0.7068 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1567, allocations: 0 / 0.7068 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.795e-05/0.1567, allocations: 33.7 kB / 0.7068 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.1567, allocations: 4.094 kB / 0.7068 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.1567, allocations: 7.938 kB / 0.7068 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.1567, allocations: 0 / 0.7068 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.421e-05/0.1568, allocations: 7.938 kB / 0.7068 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.1568, allocations: 0 / 0.7068 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.594e-05/0.1568, allocations: 7.984 kB / 0.7068 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.1568, allocations: 7.938 kB / 0.7068 GB, free: 0.7578 MB / 0.5137 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 7.151e-05/0.1569, allocations: 109.8 kB / 0.7069 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.773e-06/0.1569, allocations: 0 / 0.7069 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.608e-05/0.157, allocations: 52.75 kB / 0.707 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.157, allocations: 3.938 kB / 0.707 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.157, allocations: 0 / 0.707 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.157, allocations: 0 / 0.707 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.1571, allocations: 145.7 kB / 0.7071 GB, free: 400 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.1571, allocations: 0 / 0.7071 GB, free: 400 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.323e-05/0.1571, allocations: 7.984 kB / 0.7071 GB, free: 392 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.1571, allocations: 0 / 0.7071 GB, free: 392 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.1571, allocations: 7.875 kB / 0.7072 GB, free: 384 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.1571, allocations: 4 kB / 0.7072 GB, free: 380 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1571, allocations: 32 / 0.7072 GB, free: 380 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.1573, allocations: 69.08 kB / 0.7072 GB, free: 292 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.054e-05/0.1573, allocations: 81.11 kB / 0.7073 GB, free: 192 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.1573, allocations: 7.938 kB / 0.7073 GB, free: 184 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.023e-05/0.1573, allocations: 0 / 0.7073 GB, free: 184 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.085e-05/0.1574, allocations: 0 / 0.7073 GB, free: 184 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.1574, allocations: 4 kB / 0.7073 GB, free: 180 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.404e-05/0.1574, allocations: 79.31 kB / 0.7074 GB, free: 100 kB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1574, allocations: 0 / 0.7074 GB, free: 100 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001869/0.1576, allocations: 4 kB / 0.7074 GB, free: 96 kB / 0.5137 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.0004913/0.1581, allocations: 0.6123 MB / 0.708 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.44e-05/0.1581, allocations: 12.03 kB / 0.708 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1581, allocations: 0 / 0.708 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.414e-05/0.1582, allocations: 4 kB / 0.708 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001228/0.1583, allocations: 4 kB / 0.708 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003122/0.1586, allocations: 124.9 kB / 0.7081 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.1589, allocations: 0.669 MB / 0.7088 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.302e-05/0.1589, allocations: 4 kB / 0.7088 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.921e-05/0.1589, allocations: 7.438 kB / 0.7088 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of SimCode: time 3e-07/0.1589, allocations: 0 / 0.7088 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02257/0.1815, allocations: 1.098 MB / 0.7099 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.941/8.123, allocations: 4.625 kB / 0.7099 GB, free: 13.57 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Factorial_fmu --startTime=0 --stopTime=12.9 --stepSize=0.00516 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Factorial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.910806964151561] Failed to read output from testmodel.py, exit status != 0: 8.189353578258306 8.210283547 8.051627641 Calling exit ...