Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.Attributes.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.0004818/0.0004818, 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.3449/0.3449, 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.0004038/0.0004038, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.01742/0.01742, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.VariablesTypes.Attributes,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_Attributes",fmuType="me_cs",version="3.0",platforms={"wasm"}) "" <> buildModelFMU(HanserModelica.VariablesTypes.Attributes,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_Attributes",fmuType="me_cs",version="3.0",platforms={"wasm"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.875e-06/2.875e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.732e-05/2.02e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.002811/0.002832, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 4.11e-05/0.002873, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 2.159e-05/0.002894, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 2.101e-05/0.002915, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 4.315e-05/0.002958, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 2.48e-05/0.002983, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 5.922e-05/0.003042, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 2.997e-05/0.003072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 3.33e-05/0.003106, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 3.699e-05/0.003143, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.003155, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 5.64e-06/0.003161, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 1.156e-05/0.003172, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 2.365e-05/0.003196, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 3.472e-05/0.003231, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.003238, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 3.547e-06/0.003241, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 7.394e-06/0.003249, 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005714/0.00382, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 7.06e-05/0.003891, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.547e-05/0.003966, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 6.999e-05/0.004036, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.004224, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.004241, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.004261, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.004413, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.004424, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.00444, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.004443, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 2.517e-05/0.004469, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000668/0.005137, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 8.742e-05/0.005224, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 4.761e-05/0.005272, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.005282, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.005319, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=2): time 3.901e-05/0.005358, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=2): time 0.0002225/0.005581, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 7.511e-05/0.005656, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.596e-05/0.005752, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.00577, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 4.908e-05/0.005819, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.005845, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 9.279e-05/0.005937, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0002084/0.006146, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 2.041e-05/0.006166, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 3.278e-05/0.006199, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 7.081e-05/0.00627, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.006272, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002634/0.006535, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.006558, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.006563, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.006578, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/0.006842, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004582/0.01142, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.678e-05/0.01147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.01148, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001479/0.01163, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 4.074e-05/0.01167, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.349e-05/0.0117, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.0117, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.0117, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.01171, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005783/0.01229, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.01229, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000224/0.01252, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.01252, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.01254, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004097/0.01663, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.01664, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.01679, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 3.682e-05/0.01683, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.674e-05/0.01687, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.491e-05/0.01691, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 5.276e-05/0.01696, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.01697, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 6.691e-05/0.01704, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.425e-06/0.01704, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0009347/0.01798, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007015/0.01868, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0005538/0.01923, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.01924, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0003556/0.01959, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007696/0.02036, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009149/0.02128, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 9.7e-05/0.02137, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0001025/0.02148, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003071/0.02178, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0007119/0.0225, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU modelDescription.xml: time 0.0005892/0.02309, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU model kernel: time 0.0005088/0.02359, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU translated model: time 0.009816/0.03341, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU component link: time 5.34e-06/0.03342, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU precompile: time 1.012e-05/0.03343, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU write (0 MB unzipped): time 0.0001638/0.03359, 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(HanserModelica.VariablesTypes.Attributes,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=1000,outputFormat="empty",variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.Attributes",simflags=" -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=1 -tolerance=1e-06 -stepSize=0.001 -noemit",resimulateExecutable="HanserModelica_HanserModelica_VariablesTypes_Attributes.fmu") [Timeout 240] "" [Timeout remaining time 240] simulate(HanserModelica.VariablesTypes.Attributes,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=1000,outputFormat="empty",variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.Attributes",simflags=" -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=1 -tolerance=1e-06 -stepSize=0.001 -noemit -s fmi3:me:daskr",resimulateExecutable="HanserModelica_HanserModelica_VariablesTypes_Attributes.fmu") [Timeout 240] "" [Timeout remaining time 240] simulate(HanserModelica.VariablesTypes.Attributes,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=1000,outputFormat="empty",variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.Attributes",simflags=" -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=1 -tolerance=1e-06 -stepSize=0.001 -noemit -s fmi3:cs",resimulateExecutable="HanserModelica_HanserModelica_VariablesTypes_Attributes.fmu") [Timeout 240] "" [Timeout remaining time 240] [Calling sys.exit(0), Time elapsed: 1.3385872269282117]