Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 77.97 kB / 20.66 MB, free: 3.844 MB / 18.57 MB " [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.001708/0.001708, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 MB " [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.9666/0.9666, allocations: 177.1 MB / 204.5 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo): time 0.05256/0.05256, allocations: 12.76 MB / 273.8 MB, free: 92 kB / 250.7 MB " [Timeout remaining time 180] Using package Bodylight with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.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: translateModel(Bodylight.Blocks.Signals.Components.ContinuousMeanValue,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue") translateModel(Bodylight.Blocks.Signals.Components.ContinuousMeanValue,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 348 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.29e-05, allocations: 5.125 kB / 348 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Components.ContinuousMeanValue): time 0.001119/0.001142, allocations: 0.6311 MB / 348.7 MB, free: 216 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000144/0.001286, allocations: 15.92 kB / 348.7 MB, free: 200 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.628e-05/0.001312, allocations: 0 / 348.7 MB, free: 200 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.973e-05/0.001342, allocations: 3.984 kB / 348.7 MB, free: 196 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 1.974e-05/0.001362, allocations: 0 / 348.7 MB, free: 196 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001068/0.001468, allocations: 7.938 kB / 348.7 MB, free: 188 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.613e-05/0.001514, allocations: 4 kB / 348.7 MB, free: 184 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.586e-05/0.00155, allocations: 0 / 348.7 MB, free: 184 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.233e-05/0.001583, allocations: 11.97 kB / 348.7 MB, free: 172 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.06e-05/0.001633, allocations: 4 kB / 348.7 MB, free: 168 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.001648, allocations: 0 / 348.7 MB, free: 168 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.274e-06/0.001655, allocations: 3.938 kB / 348.7 MB, free: 164 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.001672, allocations: 4 kB / 348.7 MB, free: 160 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.357e-05/0.001686, allocations: 0 / 348.7 MB, free: 160 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 4.937e-05/0.001735, allocations: 7.984 kB / 348.7 MB, free: 152 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.001737, allocations: 0 / 348.7 MB, free: 152 kB / 266.7 MB Notification: Performance of FrontEnd: time 4.3e-07/0.001738, allocations: 0 / 348.7 MB, free: 152 kB / 266.7 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.001741, allocations: 0 / 348.7 MB, free: 152 kB / 266.7 MB 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.0002855/0.002027, allocations: 352 kB / 349.1 MB, free: 15.76 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.002064, allocations: 15.98 kB / 349.1 MB, free: 15.75 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.62e-05/0.00209, allocations: 4.938 kB / 349.1 MB, free: 15.74 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.506e-05/0.002175, allocations: 113 kB / 349.2 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.002185, allocations: 384 / 349.2 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.0022, allocations: 4.375 kB / 349.2 MB, free: 15.6 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.7e-05/0.002257, allocations: 26.27 kB / 349.2 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.002267, allocations: 12.11 kB / 349.3 MB, free: 15.56 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-06/0.002274, allocations: 384 / 349.3 MB, free: 15.56 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.002278, allocations: 384 / 349.3 MB, free: 15.56 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.342e-05/0.002292, allocations: 11.92 kB / 349.3 MB, free: 15.55 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001897/0.002481, allocations: 220.4 kB / 349.5 MB, free: 15.3 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.444e-05/0.002516, allocations: 31.05 kB / 349.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.189e-05/0.002528, allocations: 7.688 kB / 349.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.4e-06/0.002533, allocations: 0 / 349.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.002554, allocations: 41.39 kB / 349.6 MB, free: 15.2 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 5.91e-07/0.002555, allocations: 0 / 349.6 MB, free: 15.2 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001157/0.002671, allocations: 37.58 kB / 349.6 MB, free: 15.16 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.002705, allocations: 51.41 kB / 349.6 MB, free: 15.09 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.747e-05/0.002793, allocations: 161.9 kB / 349.8 MB, free: 14.92 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.002803, allocations: 33.83 kB / 349.8 MB, free: 14.88 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.507e-05/0.002848, allocations: 134.8 kB / 350 MB, free: 14.74 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.688e-06/0.002853, allocations: 0 / 350 MB, free: 14.74 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-05/0.00288, allocations: 27.31 kB / 350 MB, free: 14.71 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.003009, allocations: 496.1 kB / 350.5 MB, free: 14.21 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.064e-06/0.003016, allocations: 0 / 350.5 MB, free: 14.21 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.654e-05/0.003032, allocations: 23.31 kB / 350.5 MB, free: 14.18 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.256e-05/0.003075, allocations: 27.38 kB / 350.5 MB, free: 14.14 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.003076, allocations: 0 / 350.5 MB, free: 14.14 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.934e-05/0.003125, allocations: 49.66 kB / 350.6 MB, free: 14.09 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.003136, allocations: 4 kB / 350.6 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.00314, allocations: 0 / 350.6 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.265e-06/0.003148, allocations: 3.938 kB / 350.6 MB, free: 14.08 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.87e-05/0.003197, allocations: 4 kB / 350.6 MB, free: 14.08 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.003202, allocations: 4 kB / 350.6 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.157e-05/0.003214, allocations: 3.938 kB / 350.6 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.003218, allocations: 0 / 350.6 MB, free: 14.07 MB / 282.7 MB Warning: Assuming fixed start value for the following 1 variables: output y:VARIABLE(flow=false fixed = true stateSelect=StateSelect.always ) \"Connector of Real output signal\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (reset) * 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 9.036e-05/0.003308, allocations: 168.6 kB / 350.8 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.003322, allocations: 0 / 350.8 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.557e-05/0.003337, allocations: 3.156 kB / 350.8 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.00334, allocations: 3.938 kB / 350.8 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.003343, allocations: 4 kB / 350.8 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.003347, allocations: 4 kB / 350.8 MB, free: 13.88 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.74e-05/0.003424, allocations: 89.27 kB / 350.9 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.003425, allocations: 0 / 350.9 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.113e-05/0.003456, allocations: 11.92 kB / 350.9 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.003458, allocations: 4 kB / 350.9 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.003466, allocations: 0 / 350.9 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.003467, allocations: 4 kB / 350.9 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.003467, allocations: 0 / 350.9 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.003582, allocations: 187.8 kB / 351.1 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.293e-06/0.003589, allocations: 7.984 kB / 351.1 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.364e-06/0.003597, allocations: 0 / 351.1 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.302e-05/0.00362, allocations: 3.938 kB / 351.1 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.019e-05/0.00363, allocations: 0 / 351.1 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.003635, allocations: 3.938 kB / 351.1 MB, free: 13.53 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.546e-05/0.00367, allocations: 127.2 kB / 351.2 MB, free: 13.41 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00367, allocations: 0 / 351.2 MB, free: 13.41 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001308/0.003801, allocations: 8.062 kB / 351.2 MB, free: 13.4 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (1): * Single equations (assignments): 1 * 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 6.111e-05/0.003862, allocations: 95.17 kB / 351.3 MB, free: 13.3 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.031e-05/0.003913, allocations: 16.06 kB / 351.3 MB, free: 13.28 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.001e-06/0.003914, allocations: 0 / 351.3 MB, free: 13.28 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.063e-06/0.003921, allocations: 7.688 kB / 351.3 MB, free: 13.27 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.004061, allocations: 8 kB / 351.3 MB, free: 13.26 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002589/0.00432, allocations: 126.5 kB / 351.5 MB, free: 13.11 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.253e-05/0.004353, allocations: 55.3 kB / 351.5 MB, free: 13.03 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.274e-05/0.004366, allocations: 0 / 351.5 MB, free: 13.03 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/0.004404, allocations: 74.14 kB / 351.6 MB, free: 12.96 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.004405, allocations: 0 / 351.6 MB, free: 12.96 MB / 282.7 MB Notification: Performance of Templates: time 0.001659/0.006064, allocations: 329.8 kB / 351.9 MB, free: 12.64 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue.pipe ; mkfifo Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue.pipe ; head -c 1048576 < Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue.pipe >> ../files/Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue.sim & ./Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6708548893220723]