Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0005141/0.0005141, allocations: 0 / 0, free: 0 / 0 " [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.0004473/0.0004473, allocations: 0 / 0, free: 0 / 0 " [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.3424/0.3424, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.2308/0.2308, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.Factorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Factorial",fmuType="me_cs",version="3.0",platforms={"wasm"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Factorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Factorial",fmuType="me_cs",version="3.0",platforms={"wasm"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.887e-06/3.887e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.493e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Factorial): time 0.003858/0.003883, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.0004675/0.004351, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 4.185e-05/0.004392, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 3.572e-05/0.004428, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 5.473e-05/0.004483, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.004731, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 8.155e-05/0.004813, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 6.45e-05/0.004877, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 7.812e-05/0.004955, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 6.721e-05/0.005022, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.005045, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 6.441e-05/0.00511, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 1.965e-05/0.005129, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.005164, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.005305, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 1.064e-05/0.005316, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 4.438e-06/0.00532, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 7.364e-06/0.005328, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007525/0.00608, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 7.023e-05/0.00615, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.629e-05/0.006227, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 9.52e-05/0.006322, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.00655, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.99e-05/0.0066, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/0.006638, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003751/0.007013, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.007025, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.396e-05/0.007059, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.007063, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003306/0.007394, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000861/0.008255, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0004798/0.008735, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.008901, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.00901, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.009046, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=3): time 4.143e-05/0.009088, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=3): time 0.000871/0.009959, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.01001, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.01014, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 3.784e-05/0.01017, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 7.048e-05/0.01024, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.01028, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.0104, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.000208/0.01061, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.01076, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.01091, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0003066/0.01122, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01122, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005553/0.01177, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.0118, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.0118, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.01181, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.01193, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.01194, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.748e-05/0.01202, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.01205, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,fac.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 0.0001623/0.01221, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.01235, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004948/0.01285, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.01285, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.01286, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.01287, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007603/0.01363, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.01364, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.01376, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.01377, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/0.0138, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.0138, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.0138, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005112/0.01432, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 4.47e-05/0.01436, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.525e-05/0.01443, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.0146, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 9.356e-05/0.01469, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.01471, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 8.203e-05/0.01479, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.665e-06/0.01479, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001011/0.0158, allocations: 0 / 0, free: 0 / 0 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.y,rea2Int.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.001861/0.01766, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.000433/0.0181, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.27e-05/0.01811, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.0183, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.01963, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.0207, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.0208, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 6.217e-05/0.02086, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.02101, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0004167/0.02143, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU modelDescription.xml: time 0.0005769/0.022, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU model kernel: time 0.0008689/0.02287, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU translated model: time 0.01693/0.0398, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU component link: time 6.402e-06/0.03981, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU precompile: time 1.014e-05/0.03982, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU write (0 MB unzipped): time 0.0001665/0.03999, allocations: 0 / 0, free: 0 / 0 Notification: Building FMU for platform 'wasm' (1/1). Notification: Finished FMU for platform 'wasm' (1/1). " [Timeout remaining time 660] simulate(IBPSA.Utilities.Math.Examples.Factorial,startTime=0,stopTime=13,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial",simflags=" -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=13 -tolerance=1e-06 -stepSize=0.0052 -noemit",resimulateExecutable="IBPSA_latest_IBPSA_Utilities_Math_Examples_Factorial.fmu") [Timeout 240] "" [Timeout remaining time 240] simulate(IBPSA.Utilities.Math.Examples.Factorial,startTime=0,stopTime=13,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial",simflags=" -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=13 -tolerance=1e-06 -stepSize=0.0052 -noemit -s fmi3:me:daskr",resimulateExecutable="IBPSA_latest_IBPSA_Utilities_Math_Examples_Factorial.fmu") [Timeout 240] "" [Timeout remaining time 240] simulate(IBPSA.Utilities.Math.Examples.Factorial,startTime=0,stopTime=13,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial",simflags=" -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=13 -tolerance=1e-06 -stepSize=0.0052 -noemit -s fmi3:cs",resimulateExecutable="IBPSA_latest_IBPSA_Utilities_Math_Examples_Factorial.fmu") [Timeout 240] "" [Timeout remaining time 240] [Calling sys.exit(0), Time elapsed: 1.56059337395709]