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.0003793/0.0003793, 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.0005175/0.0005175, 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.4103/0.4103, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] 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.02138/0.02138, 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: 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=480 -lv LOG_STATS") 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=480 -lv LOG_STATS") [Timeout 1140] "Notification: Performance of FrontEnd - loaded program: time 9.42e-07/9.42e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.496e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(IndustrialControlSystems.MathOperations.Examples.SetPointGeneration): time 0.006568/0.006593, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.00603/0.01262, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.000559/0.01318, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.001552/0.01473, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.001485/0.01622, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.00197/0.01819, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001123/0.01931, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0002425/0.01956, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.02058, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0006114/0.02119, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.00013/0.02132, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.001139/0.02246, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0003249/0.02278, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0004389/0.02322, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.002137/0.02536, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001121/0.02547, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.794e-06/0.02547, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.358e-05/0.02549, 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.003514/0.029, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.000104/0.0291, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00051/0.02961, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.002057/0.03167, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.431e-05/0.03177, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.03191, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.002062/0.03398, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 3.394e-05/0.03401, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/0.03413, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/0.03415, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.03539, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006226/0.04162, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.001501/0.04312, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0006759/0.04379, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.005143/0.04894, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001474/0.05041, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=31): time 6.651e-05/0.05048, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=31): time 0.003258/0.05373, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003127/0.05405, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002503/0.05655, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001732/0.05672, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0005726/0.0573, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0002049/0.0575, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.000545/0.05805, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.00036/0.05841, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007343/0.05914, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.001129/0.06027, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.003154/0.06342, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.574e-05/0.06344, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=60) (initialization): time 0.003067/0.06651, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 8.422e-05/0.06659, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.458e-05/0.06661, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 4.262e-05/0.06666, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006481/0.0673, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.972e-05/0.06734, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008607/0.06821, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/0.06834, 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.001049/0.06939, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004664/0.06986, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001752/0.07161, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.07163, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.07164, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.468e-05/0.07165, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/0.07332, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/0.07333, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000287/0.07362, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.556e-05/0.07363, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001316/0.07376, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.331e-05/0.07378, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/0.07378, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002709/0.07649, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0009095/0.0774, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003833/0.07779, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007171/0.0785, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003541/0.07886, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/0.07898, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.001573/0.08056, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 4.187e-05/0.0806, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001849/0.08245, 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.001221/0.08367, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.002023/0.08569, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 7.794e-06/0.0857, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0009926/0.08669, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002338/0.08903, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006078/0.09511, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007281/0.09583, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0005493/0.09638, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007852/0.09717, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0004509/0.09762, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.003183/0.1008, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 1140] [Calling sys.exit(0), Time elapsed: 1.3859384130009857]