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.0002962/0.0002962, 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.0004093/0.0004093, 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.3406/0.3406, 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.01673/0.01673, 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="-abortSlowSimulation -alarm=240 -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="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 6.21e-07/6.21e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.53e-05/1.592e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(IndustrialControlSystems.MathOperations.Examples.SetPointGeneration): time 0.006762/0.006778, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.006048/0.01283, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0003923/0.01322, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.001132/0.01435, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.001432/0.01578, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001949/0.01773, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0009497/0.01868, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0002382/0.01892, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0008078/0.01973, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0003752/0.0201, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0001523/0.02025, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0009034/0.02116, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0002218/0.02138, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0002621/0.02164, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.001525/0.02317, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 5.906e-05/0.02322, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.353e-06/0.02323, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.386e-05/0.02324, 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.002786/0.02603, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001281/0.02615, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004636/0.02662, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.001684/0.0283, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/0.02844, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001766/0.02861, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/0.03027, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 3.158e-05/0.0303, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.922e-05/0.0304, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.03041, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006086/0.03102, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003776/0.0348, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0007141/0.03551, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0003177/0.03583, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.003776/0.03961, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008294/0.04044, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=31): time 6.763e-06/0.04044, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=31): time 0.002168/0.04261, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.04273, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00185/0.04458, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001126/0.04469, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0005214/0.04521, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0001832/0.04539, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004199/0.04581, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0003298/0.04614, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003953/0.04654, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006218/0.04716, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.001229/0.04839, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.418e-05/0.0484, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=60) (initialization): time 0.00192/0.05032, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 5.228e-05/0.05038, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.05039, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 3.311e-05/0.05043, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004712/0.0509, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-05/0.05092, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006224/0.05154, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.05165, 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.000763/0.05241, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003862/0.05279, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.05395, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.05396, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.05398, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.05399, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.0553, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.05531, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.05552, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-05/0.05554, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.487e-05/0.05562, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.759e-06/0.05563, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.259e-06/0.05564, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/0.05739, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0006611/0.05805, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003314/0.05838, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004569/0.05884, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002508/0.05909, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.074e-05/0.05918, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0009831/0.06016, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.065e-05/0.06018, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001693/0.06188, 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.0009535/0.06283, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.001322/0.06415, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.005e-05/0.06416, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0005794/0.06474, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001917/0.06666, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003477/0.07014, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.07044, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0004995/0.07094, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004562/0.0714, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 4.394e-05/0.07144, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.004091/0.07553, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] [Calling sys.exit(0), Time elapsed: 1.3487753281369805]