Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.MathOperations.Examples.SetPointGeneration.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.0006378/0.0006378, 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.000375/0.000375, 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.2962/0.2962, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.01825/0.01825, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/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(IndustrialControlSystems.MathOperations.Examples.SetPointGeneration,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_MathOperations_Examples_SetPointGeneration",fmuType="me_cs",version="3.0",platforms={"wasm"}) "" <> buildModelFMU(IndustrialControlSystems.MathOperations.Examples.SetPointGeneration,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_MathOperations_Examples_SetPointGeneration",fmuType="me_cs",version="3.0",platforms={"wasm"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 4.732e-05/4.916e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(IndustrialControlSystems.MathOperations.Examples.SetPointGeneration): time 0.007537/0.007586, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.005201/0.01279, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0004357/0.01322, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.001186/0.01441, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.001174/0.01558, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.002279/0.01786, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001618/0.01948, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0002881/0.01977, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.02079, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0005258/0.02131, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.000155/0.02147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.02261, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0006316/0.02324, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0004041/0.02365, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.001903/0.02555, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 9.333e-05/0.02564, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 7.124e-06/0.02565, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 2.491e-05/0.02567, 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.003028/0.0287, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001355/0.02884, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002535/0.02909, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004944/0.02959, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.001736/0.03132, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/0.03146, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.0316, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.0333, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 4.495e-05/0.03335, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.03346, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.03347, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006863/0.03416, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006156/0.04032, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0009362/0.04125, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0003696/0.04162, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.004114/0.04574, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00133/0.04707, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=31): time 0.0001074/0.04717, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=31): time 0.002341/0.04952, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.04964, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001951/0.05159, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001512/0.05174, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0005397/0.05228, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0002072/0.05249, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004518/0.05294, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0003175/0.05325, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004021/0.05366, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007046/0.05436, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.001273/0.05563, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.622e-05/0.05565, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=60) (initialization): time 0.002127/0.05778, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 9.043e-05/0.05787, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.209e-05/0.05789, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 3.496e-05/0.05793, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005445/0.05847, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.54e-05/0.0585, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007416/0.05924, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.05935, allocations: 0 / 0, free: 0 / 0 Warning: Assuming fixed start value for the following 11 variables: smoothStepSignal.St:DISCRETE(start = false fixed = true protected = true ) type: Boolean smoothStepSignal.StartTime:DISCRETE(start = 0.0 fixed = true protected = true ) type: Real smoothStepSignal.En_d:DISCRETE(fixed = true protected = true ) type: Boolean smoothThoothSignal.Sali:DISCRETE(start = false fixed = true ) type: Boolean smoothThoothSignal.Scendi:DISCRETE(start = false fixed = true ) type: Boolean smoothThoothSignal.td:DISCRETE(fixed = true ) type: Real smoothThoothSignal.ts:DISCRETE(fixed = true ) type: Real smoothThoothSignal.Ed_d:DISCRETE(fixed = true protected = true ) type: Boolean smoothThoothSignal.Es_d:DISCRETE(fixed = true protected = true ) type: Boolean noiseGen.y:DISCRETE(flow=false fixed = true ) \"output\" type: Real noiseGen.U:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 51 ($PRE.smoothStepSignal.St,$PRE.smoothStepSignal.StartTime,smoothStepSignal.StartTime,smoothStepSignal.St,$PRE.smoothStepSignal.En_d,smoothStepSignal.En_d,$whenCondition6,$PRE.enFall.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.enRise.combiTimeTable.nextTimeEvent,$whenCondition4,$PRE.smoothThoothSignal.Sali,$PRE.smoothThoothSignal.Scendi,$PRE.smoothThoothSignal.td,$PRE.smoothThoothSignal.ts,smoothThoothSignal.Scendi,smoothThoothSignal.Sali,smoothThoothSignal.td,smoothThoothSignal.ts,$PRE.smoothThoothSignal.Ed_d,enFall.combiTimeTable.nextTimeEventScaled,$PRE.enFall.combiTimeTable.nextTimeEventScaled,enFall.combiTimeTable.nextTimeEvent,smoothThoothSignal.Ed_d,$whenCondition2,$PRE.smoothThoothSignal.Es_d,enRise.combiTimeTable.nextTimeEventScaled,$PRE.enRise.combiTimeTable.nextTimeEventScaled,enRise.combiTimeTable.nextTimeEvent,smoothThoothSignal.Es_d,$whenCondition3,$PRE.noiseGen.y,noiseGen.y,$PRE.noiseGen.U,noiseGen.U,noiseGen.X,$PRE.noiseGen.X,$whenCondition1,smoothThooth_alpha_04.Yfp,smoothThooth_alpha_04.Ufp[1],noiseGen.Yfp,noiseGen.Ufp[1],smoothThoothSignal.Yfp,smoothThoothSignal.Ufp[2],smoothThoothSignal.Ufp[1],smoothStepSignal.Yfp,smoothStepSignal.Ufp[1],smoothThooth_alpha_01.Yfp,smoothThooth_alpha_01.Ufp[1],smoothStep.Yfp,smoothStep.Ufp[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 1 * 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.0009254/0.06027, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000442/0.06071, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/0.06208, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.0621, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-05/0.06211, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.649e-05/0.06213, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/0.06371, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.06372, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002665/0.06398, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.597e-05/0.064, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/0.0641, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.225e-05/0.06411, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/0.06412, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001903/0.06603, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0007321/0.06676, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003792/0.06714, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006126/0.06775, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003053/0.06805, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/0.06818, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.001289/0.06947, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.701e-05/0.06949, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.002172/0.07166, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition6,smoothStepSignal.En_d,smoothStepSignal.St,smoothStepSignal.StartTime,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,smoothThoothSignal.ts,smoothThoothSignal.td,smoothThoothSignal.Sali,smoothThoothSignal.Scendi,smoothThoothSignal.Ed_d,smoothThoothSignal.Es_d,enRise.combiTimeTable.nextTimeEvent,enRise.combiTimeTable.nextTimeEventScaled,enFall.combiTimeTable.nextTimeEvent,enFall.combiTimeTable.nextTimeEventScaled,$whenCondition1,noiseGen.y,noiseGen.X,noiseGen.U) * Number of discrete states: 11 (noiseGen.y,noiseGen.U,$whenCondition1,noiseGen.X,smoothThoothSignal.Ed_d,smoothThoothSignal.Es_d,enRise.combiTimeTable.nextTimeEvent,enFall.combiTimeTable.nextTimeEvent,enRise.combiTimeTable.nextTimeEventScaled,enFall.combiTimeTable.nextTimeEventScaled,smoothStepSignal.En_d) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 10 * 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.003963/0.07563, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.001623/0.07725, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.956e-05/0.07727, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.000593/0.07786, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002142/0.08, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/0.09291, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.09323, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0006303/0.09386, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008683/0.09473, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0005643/0.09529, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU modelDescription.xml: time 0.003738/0.09903, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU model kernel: time 0.006548/0.1056, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU translated model: time 0.04967/0.1552, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU component link: time 1.233e-05/0.1553, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU precompile: time 1.883e-05/0.1553, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU write (0.1 MB unzipped): time 0.001559/0.1568, allocations: 0 / 0, free: 0 / 0 Notification: FMU-only work: backend 0.002766, simCode 0.007802, templates 0.003738 Notification: Building FMU for platform 'wasm' (1/1). Notification: Finished FMU for platform 'wasm' (1/1). " [Timeout remaining time 660] simulate(IndustrialControlSystems.MathOperations.Examples.SetPointGeneration,startTime=0,stopTime=50,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.MathOperations.Examples.SetPointGeneration",simflags=" -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=50 -tolerance=1e-06 -stepSize=0.02 -noemit",resimulateExecutable="IndustrialControlSystems_IndustrialControlSystems_MathOperations_Examples_SetPointGeneration.fmu") [Timeout 240] "" [Timeout remaining time 240] simulate(IndustrialControlSystems.MathOperations.Examples.SetPointGeneration,startTime=0,stopTime=50,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.MathOperations.Examples.SetPointGeneration",simflags=" -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=50 -tolerance=1e-06 -stepSize=0.02 -noemit -s fmi3:me",resimulateExecutable="IndustrialControlSystems_IndustrialControlSystems_MathOperations_Examples_SetPointGeneration.fmu") [Timeout 240] "" [Timeout remaining time 240] simulate(IndustrialControlSystems.MathOperations.Examples.SetPointGeneration,startTime=0,stopTime=50,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.MathOperations.Examples.SetPointGeneration",simflags=" -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=50 -tolerance=1e-06 -stepSize=0.02 -noemit -s fmi3:cs",resimulateExecutable="IndustrialControlSystems_IndustrialControlSystems_MathOperations_Examples_SetPointGeneration.fmu") [Timeout 240] "" [Timeout remaining time 240] [Calling sys.exit(0), Time elapsed: 1.5034959439653903]